summaryrefslogtreecommitdiff
path: root/apps/recorder/radio.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/recorder/radio.c')
-rw-r--r--apps/recorder/radio.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/apps/recorder/radio.c b/apps/recorder/radio.c
index 8eaff1d917..45a02d5332 100644
--- a/apps/recorder/radio.c
+++ b/apps/recorder/radio.c
@@ -49,6 +49,7 @@
49#include "talk.h" 49#include "talk.h"
50#include "tuner.h" 50#include "tuner.h"
51#include "hwcompat.h" 51#include "hwcompat.h"
52#include "power.h"
52 53
53#ifdef CONFIG_TUNER 54#ifdef CONFIG_TUNER
54 55
@@ -168,7 +169,7 @@ bool radio_screen(void)
168 lcd_clear_display(); 169 lcd_clear_display();
169 lcd_setmargins(0, 8); 170 lcd_setmargins(0, 8);
170 status_draw(true); 171 status_draw(true);
171 fmradio_set_status(FMRADIO_PLAYING); 172 radio_set_status(FMRADIO_PLAYING);
172 173
173 font_get(FONT_UI); 174 font_get(FONT_UI);
174 lcd_getstringsize("M", &fw, &fh); 175 lcd_getstringsize("M", &fw, &fh);
@@ -405,7 +406,7 @@ bool radio_screen(void)
405 if(mpeg_status() != MPEG_STATUS_RECORD) 406 if(mpeg_status() != MPEG_STATUS_RECORD)
406 { 407 {
407 default_event_handler(SYS_USB_CONNECTED); 408 default_event_handler(SYS_USB_CONNECTED);
408 fmradio_set_status(0); 409 radio_set_status(0);
409 screen_freeze = true; /* Cosmetic: makes sure the 410 screen_freeze = true; /* Cosmetic: makes sure the
410 radio screen doesn't redraw */ 411 radio screen doesn't redraw */
411 done = true; 412 done = true;
@@ -529,7 +530,7 @@ bool radio_screen(void)
529 530
530 sound_settings_apply(); 531 sound_settings_apply();
531 532
532 fmradio_set_status(0); 533 radio_set_status(0);
533 534
534 if(keep_playing) 535 if(keep_playing)
535 { 536 {