mirror of
https://github.com/g4klx/MMDVMHost.git
synced 2026-04-21 06:13:49 +00:00
Add 460800 serial speed
This commit is contained in:
parent
75d5083f8e
commit
c2187fd624
1 changed files with 4 additions and 0 deletions
|
|
@ -304,6 +304,10 @@ bool CSerialController::open()
|
|||
::cfsetospeed(&termios, B230400);
|
||||
::cfsetispeed(&termios, B230400);
|
||||
break;
|
||||
case 460800U:
|
||||
::cfsetospeed(&termios, B460800);
|
||||
::cfsetispeed(&termios, B460800);
|
||||
break;
|
||||
default:
|
||||
LogError("Unsupported serial port speed - %u", m_speed);
|
||||
::close(m_fd);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue