summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2005-05-07 01:09:09 +0000
committerJens Arnold <amiconn@rockbox.org>2005-05-07 01:09:09 +0000
commitb4861738c9a36b410af129615f707c594b3d6109 (patch)
tree61d62e730b6a55810757d1fe93d747c9dbacc66c /apps
parentd8ba266f4f37cccfc82eb709f92779d669c1cf61 (diff)
downloadrockbox-b4861738c9a36b410af129615f707c594b3d6109.tar.gz
rockbox-b4861738c9a36b410af129615f707c594b3d6109.zip
Bugfix: debug_fm_detection was defined twice. Removed it, since it only had a meaning for the Samsung tuner chip and is thus no longer needed.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6411 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r--apps/debug_menu.c4
-rw-r--r--apps/recorder/radio.c2
2 files changed, 0 insertions, 6 deletions
diff --git a/apps/debug_menu.c b/apps/debug_menu.c
index 81b2f6a905..c51f8d42b0 100644
--- a/apps/debug_menu.c
+++ b/apps/debug_menu.c
@@ -1935,8 +1935,6 @@ bool dbg_save_roms(void)
1935#endif /* CONFIG_CPU == SH7034 */ 1935#endif /* CONFIG_CPU == SH7034 */
1936 1936
1937#ifdef CONFIG_TUNER 1937#ifdef CONFIG_TUNER
1938extern int debug_fm_detection;
1939
1940bool dbg_fm_radio(void) 1938bool dbg_fm_radio(void)
1941{ 1939{
1942 char buf[32]; 1940 char buf[32];
@@ -1954,8 +1952,6 @@ bool dbg_fm_radio(void)
1954 1952
1955 snprintf(buf, sizeof buf, "HW detected: %s", fm_detected?"yes":"no"); 1953 snprintf(buf, sizeof buf, "HW detected: %s", fm_detected?"yes":"no");
1956 lcd_puts(0, 0, buf); 1954 lcd_puts(0, 0, buf);
1957 snprintf(buf, sizeof buf, "Result: %08x", debug_fm_detection);
1958 lcd_puts(0, 1, buf);
1959 lcd_update(); 1955 lcd_update();
1960 1956
1961 button = button_get(true); 1957 button = button_get(true);
diff --git a/apps/recorder/radio.c b/apps/recorder/radio.c
index 7ed4ef04cb..93e2022caf 100644
--- a/apps/recorder/radio.c
+++ b/apps/recorder/radio.c
@@ -84,8 +84,6 @@ static struct fmstation presets[MAX_PRESETS];
84 84
85static const char default_filename[] = "/.rockbox/fm-presets-default.fmr"; 85static const char default_filename[] = "/.rockbox/fm-presets-default.fmr";
86 86
87int debug_fm_detection;
88
89static int preset_menu; /* The menu index of the preset list */ 87static int preset_menu; /* The menu index of the preset list */
90static struct menu_item preset_menu_items[MAX_PRESETS]; 88static struct menu_item preset_menu_items[MAX_PRESETS];
91static int num_presets; /* The number of presets in the preset list */ 89static int num_presets; /* The number of presets in the preset list */