Merge pull request #720 from shawnchain/macos-uart460800-fix

This commit is contained in:
Jonathan Naylor 2021-10-25 16:18:20 +01:00 committed by GitHub
commit e960b052db
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -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;