mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-03 11:38:56 +08:00
Fix -Werror=implicit-fallthrough on arm-none-eabi-gcc 7.1.0
BMP280: fix -Werror=implicit-fallthrough on arm-none-eabi-gcc 7 gnss: fix -Werror=implicit-fallthrough on arm-none-eabi-gcc 7 fmu: fix -Werror=implicit-fallthrough on arm-none-eabi-gcc 7 timer.c: fix -Werror=implicit-fallthrough on arm-none-eabi-gcc 7 px4cannode_led: fix -Werror=implicit-fallthrough on arm-none-eabi-gcc 7 Fix -Werror=implicit-fallthrough on gcc7
This commit is contained in:
committed by
Beat Küng
parent
d477b1f0f4
commit
abcb920df4
@@ -220,7 +220,8 @@ void __wrap_sched_process_timer(void)
|
||||
case Repeating:
|
||||
timers[t].count = timers[t].reload;
|
||||
|
||||
/* fall through to callback */
|
||||
/* FALLTHROUGH */
|
||||
/* to callback */
|
||||
case Timeout:
|
||||
if (timers[t].usr.cb) {
|
||||
timers[t].usr.cb(t, timers[t].usr.context);
|
||||
|
||||
Reference in New Issue
Block a user