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:
parent
56e75bee23
commit
c4a0d45d36
6 changed files with 31 additions and 47 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue