From b62e8909c497ca2550d1babdf4d930985d01bf22 Mon Sep 17 00:00:00 2001 From: Lucas De Marchi Date: Mon, 28 Aug 2017 14:14:29 -0700 Subject: [PATCH] AP_GPS: add missing fallthrough --- libraries/AP_GPS/AP_GPS_SIRF.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/libraries/AP_GPS/AP_GPS_SIRF.cpp b/libraries/AP_GPS/AP_GPS_SIRF.cpp index 68d64bee0a..f70b631a31 100644 --- a/libraries/AP_GPS/AP_GPS_SIRF.cpp +++ b/libraries/AP_GPS/AP_GPS_SIRF.cpp @@ -213,6 +213,7 @@ bool AP_GPS_SIRF::_detect(struct SIRF_detect_state &state, uint8_t data) break; } state.step = 0; + FALLTHROUGH; case 0: state.payload_length = state.payload_counter = state.checksum = 0; if (PREAMBLE1 == data)