mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-02 11:59:17 +08:00
Fix microRTPS_client_main.cpp format
This commit is contained in:
@@ -96,9 +96,9 @@ static int parse_options(int argc, char *argv[])
|
|||||||
|
|
||||||
case 'w': _options.sleep_ms = strtoul(myoptarg, nullptr, 10); break;
|
case 'w': _options.sleep_ms = strtoul(myoptarg, nullptr, 10); break;
|
||||||
|
|
||||||
case 'b':
|
case 'b': {
|
||||||
{
|
|
||||||
int baudrate = 0;
|
int baudrate = 0;
|
||||||
|
|
||||||
if (px4_get_parameter_value(myoptarg, baudrate) != 0) {
|
if (px4_get_parameter_value(myoptarg, baudrate) != 0) {
|
||||||
PX4_ERR("baudrate parsing failed");
|
PX4_ERR("baudrate parsing failed");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user