1
0
Fork 0
forked from len0rd/rockbox

radio_screen() return value is unused -> void

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28113 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Rafaël Carré 2010-09-19 08:17:08 +00:00
parent c78d55a311
commit d2000a9178
2 changed files with 3 additions and 15 deletions

View file

@ -387,10 +387,9 @@ void talk_freq(int freq, bool enqueue)
}
int radio_screen(void)
void radio_screen(void)
{
bool done = false;
int ret_val = GO_TO_ROOT;
int button;
int i;
bool stereo = false, last_stereo = false;
@ -403,7 +402,6 @@ int radio_screen(void)
unsigned long rec_lastclick = 0;
#endif
#if CONFIG_CODEC != SWCODEC
bool have_recorded = false;
int timeout = current_tick + HZ/10;
unsigned int last_seconds = 0;
#if !defined(SIMULATOR)
@ -433,9 +431,7 @@ int radio_screen(void)
#ifndef SIMULATOR
#if CONFIG_CODEC != SWCODEC
if(rec_create_directory() > 0)
have_recorded = true;
rec_create_directory();
audio_init_recording(talk_get_bufsize());
sound_settings_apply();
@ -558,7 +554,6 @@ int radio_screen(void)
}
else
{
have_recorded = true;
rec_command(RECORDING_CMD_START);
update_type = SKIN_REFRESH_ALL;
}
@ -574,7 +569,6 @@ int radio_screen(void)
#endif
keep_playing = true;
done = true;
ret_val = GO_TO_ROOT;
if(presets_have_changed())
{
if(yesno_pop(ID2P(LANG_FM_SAVE_CHANGES)))
@ -741,7 +735,6 @@ int radio_screen(void)
#endif
keep_playing = false;
done = true;
ret_val = GO_TO_ROOT;
if(presets_have_changed())
{
if(yesno_pop(ID2P(LANG_FM_SAVE_CHANGES)))
@ -884,11 +877,6 @@ int radio_screen(void)
#endif
fms_fix_displays(FMS_EXIT);
in_screen = false;
#if CONFIG_CODEC != SWCODEC
return have_recorded;
#else
return false;
#endif
} /* radio_screen */
void toggle_mono_mode(bool mono)