|
|
@ -84,7 +84,7 @@ int uartStart(struct UartDevice* dev, unsigned char canonic) { |
|
|
|
/* set input mode (non-canonical, no echo,...) */ |
|
|
|
tty->c_lflag = 0; |
|
|
|
/* Do not wait for data */ |
|
|
|
tty->c_cc[VTIME] = 0; /* inter-character timer unused */ |
|
|
|
tty->c_cc[VTIME] = 10; /* inter-character timer unused */ |
|
|
|
tty->c_cc[VMIN] = 0; /* blocking read until 5 chars received */ |
|
|
|
} |
|
|
|
|
|
|
|