AP_GPS: add missing fallthrough

This commit is contained in:
Lucas De Marchi 2017-08-28 14:14:29 -07:00 committed by Tom Pittenger
parent cb9c626577
commit b62e8909c4

View File

@ -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)