1
0
Fork 0
forked from len0rd/rockbox

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
This commit is contained in:
Michael Sevakis 2006-10-28 23:10:45 +00:00
parent 56e75bee23
commit c4a0d45d36
6 changed files with 31 additions and 47 deletions

View file

@ -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);