mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-18 00:53:34 +08:00
Fix -Werror=implicit-fallthrough errors on GCC7
This commit is contained in:
committed by
Julian Oes
parent
ca480ff868
commit
06c6a0cdec
@@ -684,8 +684,8 @@ GPS::task_main()
|
||||
switch (_mode) {
|
||||
case GPS_DRIVER_MODE_NONE:
|
||||
_mode = GPS_DRIVER_MODE_UBX;
|
||||
/* FALLTHROUGH */
|
||||
|
||||
//no break
|
||||
case GPS_DRIVER_MODE_UBX:
|
||||
_helper = new GPSDriverUBX(_interface, &GPS::callback, this, &_report_gps_pos, _p_report_sat_info);
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user