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.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/apps/recorder/radio.c b/apps/recorder/radio.c
index 4762bddb70..47ca978475 100644
--- a/apps/recorder/radio.c
+++ b/apps/recorder/radio.c
@@ -703,7 +703,7 @@ int radio_screen(void)
703 case ACTION_FM_PRESET: 703 case ACTION_FM_PRESET:
704 if(num_presets < 1) 704 if(num_presets < 1)
705 { 705 {
706 gui_syncsplash(HZ, true, str(LANG_FM_NO_PRESETS)); 706 gui_syncsplash(HZ, str(LANG_FM_NO_PRESETS));
707 update_screen = true; 707 update_screen = true;
708 FOR_NB_SCREENS(i) 708 FOR_NB_SCREENS(i)
709 { 709 {
@@ -737,7 +737,7 @@ int radio_screen(void)
737 case ACTION_FM_FREEZE: 737 case ACTION_FM_FREEZE:
738 if(!screen_freeze) 738 if(!screen_freeze)
739 { 739 {
740 gui_syncsplash(HZ, true, str(LANG_FM_FREEZE)); 740 gui_syncsplash(HZ, str(LANG_FM_FREEZE));
741 screen_freeze = true; 741 screen_freeze = true;
742 } 742 }
743 else 743 else
@@ -931,7 +931,7 @@ int radio_screen(void)
931#if CONFIG_CODEC != SWCODEC 931#if CONFIG_CODEC != SWCODEC
932 if(audio_status() & AUDIO_STATUS_ERROR) 932 if(audio_status() & AUDIO_STATUS_ERROR)
933 { 933 {
934 gui_syncsplash(0, true, str(LANG_DISK_FULL)); 934 gui_syncsplash(0, str(LANG_DISK_FULL));
935 gui_syncstatusbar_draw(&statusbars,true); 935 gui_syncstatusbar_draw(&statusbars,true);
936 FOR_NB_SCREENS(i) 936 FOR_NB_SCREENS(i)
937 gui_textarea_update(&screens[i]); 937 gui_textarea_update(&screens[i]);
@@ -1009,7 +1009,7 @@ static void radio_save_presets(void)
1009 } 1009 }
1010 else 1010 else
1011 { 1011 {
1012 gui_syncsplash(HZ, true, str(LANG_FM_PRESET_SAVE_FAILED)); 1012 gui_syncsplash(HZ, str(LANG_FM_PRESET_SAVE_FAILED));
1013 } 1013 }
1014} 1014}
1015 1015
@@ -1095,7 +1095,7 @@ static int radio_add_preset(void)
1095 } 1095 }
1096 else 1096 else
1097 { 1097 {
1098 gui_syncsplash(HZ, true, str(LANG_FM_NO_FREE_PRESETS)); 1098 gui_syncsplash(HZ, str(LANG_FM_NO_FREE_PRESETS));
1099 } 1099 }
1100 return true; 1100 return true;
1101} 1101}
@@ -1183,7 +1183,7 @@ static int save_preset_list(void)
1183 if((!p1) || (len > MAX_FILENAME) || (len == 0)) 1183 if((!p1) || (len > MAX_FILENAME) || (len == 0))
1184 { 1184 {
1185 /* no slash, too long or too short */ 1185 /* no slash, too long or too short */
1186 gui_syncsplash(HZ,true,str(LANG_INVALID_FILENAME)); 1186 gui_syncsplash(HZ, str(LANG_INVALID_FILENAME));
1187 } 1187 }
1188 else 1188 else
1189 { 1189 {
@@ -1203,7 +1203,7 @@ static int save_preset_list(void)
1203 } 1203 }
1204 } 1204 }
1205 else 1205 else
1206 gui_syncsplash(HZ,true,str(LANG_FM_NO_PRESETS)); 1206 gui_syncsplash(HZ, str(LANG_FM_NO_PRESETS));
1207 1207
1208 return true; 1208 return true;
1209} 1209}
@@ -1380,7 +1380,7 @@ static int scan_presets(void)
1380 freq /= 100; 1380 freq /= 100;
1381 1381
1382 snprintf(buf, MAX_FMPRESET_LEN, str(LANG_FM_SCANNING), freq, frac); 1382 snprintf(buf, MAX_FMPRESET_LEN, str(LANG_FM_SCANNING), freq, frac);
1383 gui_syncsplash(0, true, buf); 1383 gui_syncsplash(0, buf);
1384 1384
1385 if(radio_set(RADIO_SCAN_FREQUENCY, curr_freq)) 1385 if(radio_set(RADIO_SCAN_FREQUENCY, curr_freq))
1386 { 1386 {