diff options
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) | |||
288 | { | 288 | { |
289 | case DEBUG_CANCEL: | 289 | case DEBUG_CANCEL: |
290 | *done = true; | 290 | *done = true; |
291 | /*fallthrough*/ | ||
291 | case DEBUG_NEXT: | 292 | case DEBUG_NEXT: |
292 | cont = false; | 293 | cont = false; |
294 | /*fallthrough*/ | ||
293 | case DEBUG_LEFT_JUSTIFY: | 295 | case DEBUG_LEFT_JUSTIFY: |
294 | (*x) = 0; | 296 | (*x) = 0; |
295 | sleep(HZ/5); | 297 | sleep(HZ/5); |
296 | break; | 298 | break; |
297 | case DEBUG_LEFT_SCROLL: | 299 | case DEBUG_LEFT_SCROLL: |
298 | (*x)--; | 300 | (*x)--; |
301 | break; | ||
302 | default: | ||
303 | break; | ||
299 | } | 304 | } |
300 | } | 305 | } |
301 | lcd_clear_display(); | 306 | lcd_clear_display(); |
@@ -610,4 +615,4 @@ int get_cpu_voltage_setting(void) | |||
610 | 615 | ||
611 | return value; | 616 | return value; |
612 | } | 617 | } |
613 | #endif /* HAVE_ADJUSTABLE_CPU_VOLTAGE */ \ No newline at end of file | 618 | #endif /* HAVE_ADJUSTABLE_CPU_VOLTAGE */ |