Index: apps/recorder/radio.c =================================================================== --- apps/recorder/radio.c (Revision 20928) +++ apps/recorder/radio.c (Arbeitskopie) @@ -1156,15 +1156,23 @@ { if(settings_parseline(buf, &freq, &name)) { - f = atoi(freq); - if(f) /* For backwards compatibility */ + if(strncmp("region", freq, 6) == 0) { - struct fmstation * const fms = &presets[num_presets]; - fms->frequency = f; - strncpy(fms->name, name, MAX_FMPRESET_LEN); - fms->name[MAX_FMPRESET_LEN] = '\0'; - num_presets++; + f = atoi(name); + set_radio_region(f); } + else + { + f = atoi(freq); + if(f) /* For backwards compatibility */ + { + struct fmstation * const fms = &presets[num_presets]; + fms->frequency = f; + strncpy(fms->name, name, MAX_FMPRESET_LEN); + fms->name[MAX_FMPRESET_LEN] = '\0'; + num_presets++; + } + } } } else Index: firmware/export/tuner.h =================================================================== --- firmware/export/tuner.h (Revision 20928) +++ firmware/export/tuner.h (Arbeitskopie) @@ -75,10 +75,13 @@ #if CONFIG_TUNER #ifdef SIMULATOR + +#define HAVE_RADIO_REGION int tuner_set(int setting, int value); int tuner_get(int setting); -#else +#else /* Not the SIMULATOR */ + #ifdef CONFIG_TUNER_MULTI extern int (*tuner_set)(int setting, int value); extern int (*tuner_get)(int setting); @@ -107,7 +110,7 @@ #include "si4700.h" #endif -#endif /* SIMULATOR */ +#endif /* Not the SIMULATOR */ /* Additional messages that get enumerated after tuner driver headers */