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.zip rockbox-c4a0d45d36cf093425146c93c25c8f97df87a854.tar.gz rockbox-c4a0d45d36cf093425146c93c25c8f97df87a854.tar.bz2 rockbox-c4a0d45d36cf093425146c93c25c8f97df87a854.tar.xz | |
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 712a66c..251d3b3 100644 --- a/apps/debug_menu.c +++ b/apps/debug_menu.c @@ -1072,7 +1072,7 @@ bool dbg_ports(void) #ifdef IAUDIO_X5 snprintf(buf, sizeof(buf), "ADC_BUTTONS (%c): %02x", - adc_get_button_scan_enabled() ? '+' : '-', adc_buttons); + button_scan_enabled() ? '+' : '-', adc_buttons); lcd_puts(0, line++, buf); snprintf(buf, sizeof(buf), "ADC_REMOTE (%c): %02x", remote_detect() ? '+' : '-', adc_remote); |