diff options
author | William Wilgus <wilgus.william@gmail.com> | 2021-08-08 09:27:27 -0400 |
---|---|---|
committer | William Wilgus <wilgus.william@gmail.com> | 2021-08-08 09:27:27 -0400 |
commit | 275c762bb2a5998e28fd68e69efc16723fb6738f (patch) | |
tree | 9ed85d5a11b5fe9c7e5f7c5d2b37a949d3a2101f /firmware/target/arm/as3525/debug-as3525.c | |
parent | 0a6d7abd135c67f92a4882c73a49e81ffb1ff7b4 (diff) |
As3525 wavpack_enc document some intentional switch fall through
Change-Id: I56bf439df2c05653d65f49238e886e4ef2291176
Diffstat (limited to 'firmware/target/arm/as3525/debug-as3525.c')
-rw-r--r-- | firmware/target/arm/as3525/debug-as3525.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/firmware/target/arm/as3525/debug-as3525.c b/firmware/target/arm/as3525/debug-as3525.c index c4c4a7f4dc..57161541fd 100644 --- a/firmware/target/arm/as3525/debug-as3525.c +++ b/firmware/target/arm/as3525/debug-as3525.c @@ -288,14 +288,19 @@ static bool dbg_btn(bool *done, int *x) { case DEBUG_CANCEL: *done = true; + /*fallthrough*/ case DEBUG_NEXT: cont = false; + /*fallthrough*/ case DEBUG_LEFT_JUSTIFY: (*x) = 0; sleep(HZ/5); break; case DEBUG_LEFT_SCROLL: (*x)--; + break; + default: + break; } } lcd_clear_display(); @@ -610,4 +615,4 @@ int get_cpu_voltage_setting(void) return value; } -#endif /* HAVE_ADJUSTABLE_CPU_VOLTAGE */
\ No newline at end of file +#endif /* HAVE_ADJUSTABLE_CPU_VOLTAGE */ |