mirror of
https://github.com/g4klx/MMDVMHost.git
synced 2026-04-04 22:17:38 +00:00
Merge pull request #757 from n0mjs710/master
This commit is contained in:
commit
75aef4b459
1 changed files with 6 additions and 0 deletions
|
|
@ -357,6 +357,12 @@ bool CUARTController::setRaw()
|
|||
::cfsetispeed(&termios, B460800);
|
||||
break;
|
||||
#endif /*B460800*/
|
||||
#if defined(B500000)
|
||||
case 500000U:
|
||||
::cfsetospeed(&termios, B500000);
|
||||
::cfsetispeed(&termios, B500000);
|
||||
break;
|
||||
#endif /*B500000*/
|
||||
default:
|
||||
LogError("Unsupported serial port speed - %u", m_speed);
|
||||
::close(m_fd);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue