mirror of
https://github.com/g4klx/MMDVMHost.git
synced 2026-01-10 18:40:07 +01:00
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__)
|
||||
termios.c_cc[VMIN] = 1;
|
||||
termios.c_cc[VTIME] = 1;
|
||||
#define B460800 460800
|
||||
#else
|
||||
termios.c_cc[VMIN] = 0;
|
||||
termios.c_cc[VTIME] = 10;
|
||||
|
|
|
|||
Loading…
Reference in a new issue