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-9add11d.tar.gz rockbox-9add11d.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) } #endif /* CPU */ -static int radio_callback(int btn, struct gui_synclist *lists) -{ - (void)lists; - if (btn == ACTION_STD_CANCEL) - return btn; - simplelist_set_line_count(1); - simplelist_addline("test one"); - simplelist_addline("test two"); - simplelist_addline("test dsaf"); - simplelist_addline("test asdfsad"); - simplelist_addline("-------------"); - return ACTION_REDRAW; -} -static bool dbg_fm_radio(void) -{ - struct simplelist_info info; - info.scroll_all = true; - simplelist_info_init(&info, "FM Radio", 1, NULL); - simplelist_set_line_count(0); - simplelist_addline("HW detected: %s", "no"); - - info.action_callback = radio_callback; - info.hide_selection = true; - return simplelist_show_list(&info); -} #ifndef SIMULATOR #if CONFIG_TUNER @@ -2349,7 +2324,6 @@ static const struct { { "FM Radio", dbg_fm_radio }, #endif #endif - { "TEST HERE", dbg_fm_radio}, #if defined(HAVE_EEPROM) && !defined(HAVE_EEPROM_SETTINGS) { "Write back EEPROM", dbg_write_eeprom }, #endif |