summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2013-03-28 22:36:49 +1100
committerJonathan Gordon <rockbox@jdgordon.info>2013-03-29 13:41:48 +1100
commit0bcd284497cbc2d5b75d47ff91dee50150603d0c (patch)
tree4ce27070f575d47a470899bd7fc3b9fd685939eb
parent087ff2e59057cbc378ec3c2be3a9af12c7407514 (diff)
downloadrockbox-v3.13.tar.gz
rockbox-v3.13.zip
woops, revert test codev3.13
Change-Id: Ida0ef9e4d81520314d3757009d18f7b22accc1e4
-rw-r--r--apps/debug_menu.c26
1 files changed, 0 insertions, 26 deletions
diff --git a/apps/debug_menu.c b/apps/debug_menu.c
index 3fe28fb1c9..c4291879c3 100644
--- a/apps/debug_menu.c
+++ b/apps/debug_menu.c
@@ -1838,31 +1838,6 @@ static bool dbg_save_roms(void)
1838} 1838}
1839#endif /* CPU */ 1839#endif /* CPU */
1840 1840
1841static int radio_callback(int btn, struct gui_synclist *lists)
1842{
1843 (void)lists;
1844 if (btn == ACTION_STD_CANCEL)
1845 return btn;
1846 simplelist_set_line_count(1);
1847 simplelist_addline("test one");
1848 simplelist_addline("test two");
1849 simplelist_addline("test dsaf");
1850 simplelist_addline("test asdfsad");
1851 simplelist_addline("-------------");
1852 return ACTION_REDRAW;
1853}
1854static bool dbg_fm_radio(void)
1855{
1856 struct simplelist_info info;
1857 info.scroll_all = true;
1858 simplelist_info_init(&info, "FM Radio", 1, NULL);
1859 simplelist_set_line_count(0);
1860 simplelist_addline("HW detected: %s", "no");
1861
1862 info.action_callback = radio_callback;
1863 info.hide_selection = true;
1864 return simplelist_show_list(&info);
1865}
1866#ifndef SIMULATOR 1841#ifndef SIMULATOR
1867#if CONFIG_TUNER 1842#if CONFIG_TUNER
1868 1843
@@ -2349,7 +2324,6 @@ static const struct {
2349 { "FM Radio", dbg_fm_radio }, 2324 { "FM Radio", dbg_fm_radio },
2350#endif 2325#endif
2351#endif 2326#endif
2352 { "TEST HERE", dbg_fm_radio},
2353#if defined(HAVE_EEPROM) && !defined(HAVE_EEPROM_SETTINGS) 2327#if defined(HAVE_EEPROM) && !defined(HAVE_EEPROM_SETTINGS)
2354 { "Write back EEPROM", dbg_write_eeprom }, 2328 { "Write back EEPROM", dbg_write_eeprom },
2355#endif 2329#endif