From c4a0d45d36cf093425146c93c25c8f97df87a854 Mon Sep 17 00:00:00 2001 From: Michael Sevakis Date: Sat, 28 Oct 2006 23:10:45 +0000 Subject: 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 --- apps/debug_menu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps') 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) #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); -- cgit v1.2.3