Skip to content
Snippets Groups Projects
Commit a42f0f5a authored by Beat Küng's avatar Beat Küng Committed by Lorenz Meier
Browse files

gps: fix code style

parent 6d0288d4
No related branches found
No related tags found
No related merge requests found
......@@ -711,7 +711,8 @@ GPS::task_main()
switch (_mode) {
case GPS_DRIVER_MODE_NONE:
_mode = GPS_DRIVER_MODE_UBX;
//no break
//no break
case GPS_DRIVER_MODE_UBX:
_helper = new GPSDriverUBX(_interface, &GPS::callback, this, &_report_gps_pos, _p_report_sat_info);
break;
......@@ -1183,6 +1184,7 @@ gps_main(int argc, char *argv[])
out:
PX4_ERR("unrecognized command, try 'start', 'stop', 'test', 'reset' or 'status'");
PX4_ERR("[-d " GPS_DEFAULT_UART_PORT "][-f (for enabling fake)][-s (to enable sat info)] [-i {spi|uart}] [-p {ubx|mtk|ash}]");
PX4_ERR("[-d " GPS_DEFAULT_UART_PORT
"][-f (for enabling fake)][-s (to enable sat info)] [-i {spi|uart}] [-p {ubx|mtk|ash}]");
return 1;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment