mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-06 06:43:21 +08:00
gps.cpp: add gps baudrate 230400 to qurt
This commit is contained in:
committed by
Julian Oes
parent
21587bf8d3
commit
8cd913c148
@@ -493,6 +493,8 @@ int GPS::setBaudrate(unsigned baud)
|
||||
|
||||
case 115200: data_rate.bit_rate = DSPAL_SIO_BITRATE_115200; break;
|
||||
|
||||
case 230400: data_rate.bit_rate = DSPAL_SIO_BITRATE_230400; break;
|
||||
|
||||
default:
|
||||
PX4_ERR("ERR: unknown baudrate: %d", baud);
|
||||
return -EINVAL;
|
||||
|
||||
Reference in New Issue
Block a user