mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-23 16:25:31 +03:00
Enabled switch fallthrough checking by compiler
This commit is contained in:
parent
9dda8c4f18
commit
671382234a
20 changed files with 100 additions and 58 deletions
|
@ -912,6 +912,7 @@ bool sdcard_poll(void)
|
|||
break; // Timeout not reached yet so keep waiting
|
||||
}
|
||||
// Timeout has expired, so fall through to convert to a fatal error
|
||||
FALLTHROUGH;
|
||||
|
||||
case SDCARD_RECEIVE_ERROR:
|
||||
sdcard_deselect();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue