mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-15 04:15:44 +03:00
Define state case rather than relying on default
This commit is contained in:
parent
e9b716185f
commit
12bb43cdb8
1 changed files with 2 additions and 0 deletions
|
@ -435,6 +435,8 @@ rx_spi_received_e frSkySpiDataReceived(uint8_t *packet)
|
|||
protocolState = STATE_STARTING;
|
||||
|
||||
break;
|
||||
|
||||
case STATE_STARTING:
|
||||
default:
|
||||
ret = handlePacket(packet, &protocolState);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue