diff options
author | Jonathan Gordon <rockbox@jdgordon.info> | 2013-03-28 22:36:49 +1100 |
---|---|---|
committer | Jonathan Gordon <rockbox@jdgordon.info> | 2013-03-28 22:36:49 +1100 |
commit | 9add11d79a5e1516908a4935a3e538880ff38378 (patch) | |
tree | 5d5501359f63e4f907f78757a21b8836ba356757 | |
parent | 83d3f1d3f65e4115bc5a8348d126b6ab7cbbcf64 (diff) | |
download | rockbox-9add11d79a5e1516908a4935a3e538880ff38378.tar.gz rockbox-9add11d79a5e1516908a4935a3e538880ff38378.zip |
woops, revert test code
Change-Id: Ida0ef9e4d81520314d3757009d18f7b22accc1e4
-rw-r--r-- | apps/debug_menu.c | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/apps/debug_menu.c b/apps/debug_menu.c index 59a58212ad..265d8988b5 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 | ||
1841 | static 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 | } | ||
1854 | static 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 |