diff options
author | Michael Sevakis <jethead71@rockbox.org> | 2006-10-28 23:10:45 +0000 |
---|---|---|
committer | Michael Sevakis <jethead71@rockbox.org> | 2006-10-28 23:10:45 +0000 |
commit | c4a0d45d36cf093425146c93c25c8f97df87a854 (patch) | |
tree | faf8486c7e296c2272c3b2b277c097ad50ceb695 /apps/debug_menu.c | |
parent | 56e75bee23b0458ebe5198912c024475c762c355 (diff) | |
download | rockbox-c4a0d45d36cf093425146c93c25c8f97df87a854.tar.gz rockbox-c4a0d45d36cf093425146c93c25c8f97df87a854.zip |
Cleanup of new button reading code. Moved functions for enabling of scanning and the decision to scan or not to button_read_device.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11377 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/debug_menu.c')
-rw-r--r-- | apps/debug_menu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/debug_menu.c b/apps/debug_menu.c index 712a66cfa0..251d3b35ae 100644 --- a/apps/debug_menu.c +++ b/apps/debug_menu.c | |||
@@ -1072,7 +1072,7 @@ bool dbg_ports(void) | |||
1072 | 1072 | ||
1073 | #ifdef IAUDIO_X5 | 1073 | #ifdef IAUDIO_X5 |
1074 | snprintf(buf, sizeof(buf), "ADC_BUTTONS (%c): %02x", | 1074 | snprintf(buf, sizeof(buf), "ADC_BUTTONS (%c): %02x", |
1075 | adc_get_button_scan_enabled() ? '+' : '-', adc_buttons); | 1075 | button_scan_enabled() ? '+' : '-', adc_buttons); |
1076 | lcd_puts(0, line++, buf); | 1076 | lcd_puts(0, line++, buf); |
1077 | snprintf(buf, sizeof(buf), "ADC_REMOTE (%c): %02x", | 1077 | snprintf(buf, sizeof(buf), "ADC_REMOTE (%c): %02x", |
1078 | remote_detect() ? '+' : '-', adc_remote); | 1078 | remote_detect() ? '+' : '-', adc_remote); |