mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-28 09:58:23 +08:00
[uart][linux] fix B921600 for OSX sim
This commit is contained in:
@@ -52,7 +52,9 @@ static inline int uart_speed(int def)
|
||||
case B57600: return 57600;
|
||||
case B115200: return 115200;
|
||||
case B230400: return 230400;
|
||||
#ifdef B921600
|
||||
case B921600: return 921600;
|
||||
#endif
|
||||
default: return 9600;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user