summaryrefslogtreecommitdiff
path: root/apps/debug_menu.c
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2007-07-14 14:52:06 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2007-07-14 14:52:06 +0000
commit4259eb1ed9f223955f21da771093a09c9989b7cb (patch)
tree911c807711d50bf2a4bdae033b9e2fa61c58b56b /apps/debug_menu.c
parent7ade14776f25fae3121aed0d6291b089f4e00363 (diff)
downloadrockbox-4259eb1ed9f223955f21da771093a09c9989b7cb.zip
rockbox-4259eb1ed9f223955f21da771093a09c9989b7cb.tar.gz
rockbox-4259eb1ed9f223955f21da771093a09c9989b7cb.tar.bz2
rockbox-4259eb1ed9f223955f21da771093a09c9989b7cb.tar.xz
make the radio debug screen auto-update
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13886 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/debug_menu.c')
-rw-r--r--apps/debug_menu.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/debug_menu.c b/apps/debug_menu.c
index 01f3cb8..9938819 100644
--- a/apps/debug_menu.c
+++ b/apps/debug_menu.c
@@ -1947,7 +1947,7 @@ static bool dbg_save_roms(void)
int radio_lines = 0;
static int radio_callback(int btn, struct gui_synclist *lists)
{
- (void)btn; (void)lists;
+ (void)btn;
radio_lines = 0;
if (radio_hardware_present())
{
@@ -1988,6 +1988,7 @@ static int radio_callback(int btn, struct gui_synclist *lists)
(unsigned)info.write_regs[2], (unsigned)info.write_regs[3],
(unsigned)info.write_regs[4]);
#endif
+ gui_synclist_draw(lists);
}
else
snprintf(debug_list_messages[radio_lines++], DEBUG_MSG_LEN, "HW detected: no");