diff options
Diffstat (limited to 'apps/recorder/radio.c')
-rw-r--r-- | apps/recorder/radio.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/apps/recorder/radio.c b/apps/recorder/radio.c index 4e6c52ea84..a0280ecf1f 100644 --- a/apps/recorder/radio.c +++ b/apps/recorder/radio.c | |||
@@ -304,7 +304,7 @@ bool radio_screen(void) | |||
304 | if(search_dir) | 304 | if(search_dir) |
305 | button = button_get(false); | 305 | button = button_get(false); |
306 | else | 306 | else |
307 | button = button_get_w_tmo(HZ / peak_meter_fps); | 307 | button = button_get_w_tmo(HZ / PEAK_METER_FPS); |
308 | switch(button) | 308 | switch(button) |
309 | { | 309 | { |
310 | case FM_STOP: | 310 | case FM_STOP: |
@@ -479,13 +479,10 @@ bool radio_screen(void) | |||
479 | /* Only display the peak meter when not recording */ | 479 | /* Only display the peak meter when not recording */ |
480 | if(!audio_status()) | 480 | if(!audio_status()) |
481 | { | 481 | { |
482 | lcd_set_drawmode(DRMODE_SOLID|DRMODE_INVERSEVID); | ||
483 | lcd_fillrect(0, 8 + fh*(top_of_screen + 3), LCD_WIDTH, fh); | ||
484 | lcd_set_drawmode(DRMODE_SOLID); | ||
485 | peak_meter_draw(0, 8 + fh*(top_of_screen + 3), LCD_WIDTH, fh); | 482 | peak_meter_draw(0, 8 + fh*(top_of_screen + 3), LCD_WIDTH, fh); |
486 | lcd_update_rect(0, 8 + fh*(top_of_screen + 3), LCD_WIDTH, fh); | 483 | lcd_update_rect(0, 8 + fh*(top_of_screen + 3), LCD_WIDTH, fh); |
487 | } | 484 | } |
488 | 485 | ||
489 | if(TIME_AFTER(current_tick, timeout)) | 486 | if(TIME_AFTER(current_tick, timeout)) |
490 | { | 487 | { |
491 | timeout = current_tick + HZ; | 488 | timeout = current_tick + HZ; |