macos fix for the baudrate 460800
This commit is contained in:
parent
b57b781ab8
commit
2f9b4c120c
|
@ -289,6 +289,7 @@ bool CUARTController::setRaw()
|
||||||
#if defined(__APPLE__)
|
#if defined(__APPLE__)
|
||||||
termios.c_cc[VMIN] = 1;
|
termios.c_cc[VMIN] = 1;
|
||||||
termios.c_cc[VTIME] = 1;
|
termios.c_cc[VTIME] = 1;
|
||||||
|
#define B460800 460800
|
||||||
#else
|
#else
|
||||||
termios.c_cc[VMIN] = 0;
|
termios.c_cc[VMIN] = 0;
|
||||||
termios.c_cc[VTIME] = 10;
|
termios.c_cc[VTIME] = 10;
|
||||||
|
|
Loading…
Reference in a new issue