diff options
Diffstat (limited to 'apps/settings_list.c')
-rw-r--r-- | apps/settings_list.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/apps/settings_list.c b/apps/settings_list.c index 4442e3181f..b3a48553f1 100644 --- a/apps/settings_list.c +++ b/apps/settings_list.c | |||
@@ -43,6 +43,9 @@ | |||
43 | #include "peakmeter.h" | 43 | #include "peakmeter.h" |
44 | #endif | 44 | #endif |
45 | #include "menus/eq_menu.h" | 45 | #include "menus/eq_menu.h" |
46 | #if CONFIG_TUNER | ||
47 | #include "radio.h" | ||
48 | #endif | ||
46 | 49 | ||
47 | /* some sets of values which are used more than once, to save memory */ | 50 | /* some sets of values which are used more than once, to save memory */ |
48 | static const char off_on[] = "off,on"; | 51 | static const char off_on[] = "off,on"; |
@@ -474,7 +477,7 @@ const struct settings_list settings[] = { | |||
474 | /* tuner */ | 477 | /* tuner */ |
475 | #if CONFIG_TUNER | 478 | #if CONFIG_TUNER |
476 | OFFON_SETTING(0,fm_force_mono, LANG_FM_MONO_MODE, | 479 | OFFON_SETTING(0,fm_force_mono, LANG_FM_MONO_MODE, |
477 | false,"force fm mono", NULL), | 480 | false, "force fm mono", toggle_mono_mode), |
478 | SYSTEM_SETTING(NVRAM(4),last_frequency,0), | 481 | SYSTEM_SETTING(NVRAM(4),last_frequency,0), |
479 | #endif | 482 | #endif |
480 | 483 | ||
@@ -1046,8 +1049,9 @@ const struct settings_list settings[] = { | |||
1046 | "disable autoresume if phones not present",NULL), | 1049 | "disable autoresume if phones not present",NULL), |
1047 | #endif | 1050 | #endif |
1048 | #if CONFIG_TUNER | 1051 | #if CONFIG_TUNER |
1049 | {F_T_INT,&global_settings.fm_region,LANG_FM_REGION,INT(0), | 1052 | CHOICE_SETTING(0, fm_region, LANG_FM_REGION, 0, |
1050 | "fm_region","eu,us,jp,kr",UNUSED}, | 1053 | "fm_region", "eu,us,jp,kr", set_radio_region, 4, ID2P(LANG_FM_EUROPE), |
1054 | ID2P(LANG_FM_US), ID2P(LANG_FM_JAPAN), ID2P(LANG_FM_KOREA)), | ||
1051 | #endif | 1055 | #endif |
1052 | 1056 | ||
1053 | OFFON_SETTING(0,audioscrobbler,LANG_AUDIOSCROBBLER, | 1057 | OFFON_SETTING(0,audioscrobbler,LANG_AUDIOSCROBBLER, |