AP_GPS: add missing fallthrough
This commit is contained in:
parent
cb9c626577
commit
b62e8909c4
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user