Fix -Werror=implicit-fallthrough errors on GCC7

This commit is contained in:
Julien Lecoeur
2017-06-26 15:50:44 +02:00
committed by Julian Oes
parent ca480ff868
commit 06c6a0cdec
4 changed files with 7 additions and 6 deletions
+1 -1
View File
@@ -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;