gps: fix code style

This commit is contained in:
Beat Küng 2016-09-28 19:31:43 +02:00 committed by Lorenz Meier
parent 6d0288d494
commit a42f0f5a62

View File

@ -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;
}