Index: apps/recorder/radio.c
===================================================================
--- apps/recorder/radio.c (wersja 19415)
+++ apps/recorder/radio.c (kopia robocza)
@@ -121,7 +121,7 @@
static int radio_status = FMRADIO_OFF;
static bool in_screen = false;
-#define MAX_PRESETS 64
+#define MAX_PRESETS 384
static bool presets_loaded = false, presets_changed = false;
static struct fmstation presets[MAX_PRESETS];
Index: apps/recorder/radio.h
===================================================================
--- apps/recorder/radio.h (wersja 19415)
+++ apps/recorder/radio.h (kopia robocza)
@@ -38,7 +38,7 @@
void set_radio_region(int region);
void toggle_mono_mode(bool mono);
-#define MAX_FMPRESET_LEN 27
+#define MAX_FMPRESET_LEN 32
struct fmstation
{
Index: apps/lang/english.lang
===================================================================
--- apps/lang/english.lang (wersja 19415)
+++ apps/lang/english.lang (kopia robocza)
@@ -5752,6 +5752,86 @@
+ id: LANG_FM_REG_LV0125
+ desc: fm region full for lv tuner
+
+ *: none
+ radio: "72.400-121.300Mhz - 12.5kHz"
+
+
+ *: none
+ radio: "72.400-121.300Mhz - 12.5kHz"
+
+
+ *: none
+ radio: "72.400-121.300Mhz - 12.5kHz"
+
+
+
+ id: LANG_FM_REG_LV0200
+ desc: fm region full for lv tuner
+
+ *: none
+ radio: "72.400-121.300Mhz - 20.0kHz"
+
+
+ *: none
+ radio: "72.400-121.300Mhz - 20.0kHz"
+
+
+ *: none
+ radio: "72.400-121.300Mhz - 20.0kHz"
+
+
+
+ id: LANG_FM_REG_LV0200BOS
+ desc: fm region full for lv tuner
+
+ *: none
+ radio: "72.415-121.295Mhz - 20.0kHz BOS"
+
+
+ *: none
+ radio: "72.415-121.295Mhz - 20.0kHz BOS"
+
+
+ *: none
+ radio: "72.415-121.295Mhz - 20.0kHz BOS"
+
+
+
+ id: LANG_FM_REG_LV0500
+ desc: fm region full for lv tuner
+
+ *: none
+ radio: "72.400-121.300Mhz - 50.0kHz"
+
+
+ *: none
+ radio: "72.400-121.300Mhz - 50.0kHz"
+
+
+ *: none
+ radio: "72.400-121.300Mhz - 50.0kHz"
+
+
+
+ id: LANG_FM_REG_LV1000
+ desc: fm region full for lv tuner
+
+ *: none
+ radio: "72.400-121.300Mhz - 100.0kHz"
+
+
+ *: none
+ radio: "72.400-121.300Mhz - 100.0kHz"
+
+
+ *: none
+ radio: "72.400-121.300Mhz - 100.0kHz"
+
+
+
id: LANG_RECORDING_FORMAT
desc: audio format item in recording menu
user:
Index: apps/settings_list.c
===================================================================
--- apps/settings_list.c (wersja 19415)
+++ apps/settings_list.c (kopia robocza)
@@ -1281,10 +1281,27 @@
#endif
#if CONFIG_TUNER
CHOICE_SETTING(0, fm_region, LANG_FM_REGION, 0,
- "fm_region", "eu,us,jp,kr", set_radio_region, 4,
- ID2P(LANG_FM_EUROPE), ID2P(LANG_FM_US),
- ID2P(LANG_FM_JAPAN), ID2P(LANG_FM_KOREA)),
+ "fm_region",
+#if LV24020LP
+ "eu,us,jp,kr,lv0125,lv0200,lv0200bos,lv0500,lv1000", set_radio_region, 9,
+ ID2P(LANG_FM_EUROPE),
+ ID2P(LANG_FM_US),
+ ID2P(LANG_FM_JAPAN),
+ ID2P(LANG_FM_KOREA),
+ ID2P(LANG_FM_REG_LV0125),
+ ID2P(LANG_FM_REG_LV0200),
+ ID2P(LANG_FM_REG_LV0200BOS),
+ ID2P(LANG_FM_REG_LV0500),
+ ID2P(LANG_FM_REG_LV1000),
+#else
+ "eu,us,jp,kr", set_radio_region, 4,
+ ID2P(LANG_FM_EUROPE),
+ ID2P(LANG_FM_US),
+ ID2P(LANG_FM_JAPAN),
+ ID2P(LANG_FM_KOREA)
#endif
+ ),
+#endif
OFFON_SETTING(F_BANFROMQS, audioscrobbler, LANG_AUDIOSCROBBLER, false,
"Last.fm Logging", NULL),
Index: firmware/export/tuner.h
===================================================================
--- firmware/export/tuner.h (wersja 19415)
+++ firmware/export/tuner.h (kopia robocza)
@@ -58,6 +58,11 @@
REGION_US_CANADA,
REGION_JAPAN,
REGION_KOREA,
+ REGION_LV0125,
+ REGION_LV0200,
+ REGION_LV0200BOS,
+ REGION_LV0500,
+ REGION_LV1000,
/* Add new regions above this line */
TUNER_NUM_REGIONS
Index: firmware/tuner.c
===================================================================
--- firmware/tuner.c (wersja 19415)
+++ firmware/tuner.c (kopia robocza)
@@ -31,7 +31,14 @@
[REGION_EUROPE] = { 87500000, 108000000, 50000 },
[REGION_US_CANADA] = { 87900000, 107900000, 200000 },
[REGION_JAPAN] = { 76000000, 90000000, 100000 },
- [REGION_KOREA] = { 87500000, 108000000, 100000 }
+ [REGION_KOREA] = { 87500000, 108000000, 100000 },
+#if LV24020LP
+ [REGION_LV0125] = { 72400000, 121300000, 12500 },
+ [REGION_LV0200] = { 72400000, 121300000, 20000 },
+ [REGION_LV0200BOS] = { 72415000, 121295000, 20000 },
+ [REGION_LV0500] = { 72400000, 121300000, 50000 },
+ [REGION_LV1000] = { 72400000, 121300000, 100000 },
+#endif
};
#ifndef SIMULATOR
@@ -46,6 +53,13 @@
[REGION_US_CANADA] = 1, /* 75uS */
[REGION_JAPAN] = 0, /* 50uS */
[REGION_KOREA] = 0, /* 50uS */
+#if LV24020LP
+ [REGION_LV0125] = 0,
+ [REGION_LV0200] = 0,
+ [REGION_LV0200BOS] = 0,
+ [REGION_LV0500] = 0,
+ [REGION_LV1000] = 0,
+#endif
};
#endif /* (CONFIG_TUNER & LV24020LP) */
@@ -56,6 +70,13 @@
[REGION_US_CANADA] = { 1, 0 }, /* 75uS, US/Europe band */
[REGION_JAPAN] = { 0, 1 }, /* 50uS, Japanese band */
[REGION_KOREA] = { 0, 0 }, /* 50uS, US/Europe band */
+#if LV24020LP
+ [REGION_LV0125] = { 0, 0 },
+ [REGION_LV0200] = { 0, 0 },
+ [REGION_LV0200BOS] = { 0, 0 },
+ [REGION_LV0500] = { 0, 0 },
+ [REGION_LV1000] = { 0, 0 },
+#endif
};
#endif /* (CONFIG_TUNER & TEA5767) */