summaryrefslogtreecommitdiff
path: root/rbutil/mkimxboot/mkimxboot.c
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2014-01-18 19:47:55 +0100
committerThomas Martitz <kugel@rockbox.org>2014-01-18 19:47:55 +0100
commitc448d7e79c841ef483e685ca785114e5a8b1c535 (patch)
tree562928e854ad6f2b1ab6a89ec71441f83bae4b5b /rbutil/mkimxboot/mkimxboot.c
parentb31c856b842096e5128a86a8316083190527d467 (diff)
downloadrockbox-c448d7e79c841ef483e685ca785114e5a8b1c535.tar.gz
rockbox-c448d7e79c841ef483e685ca785114e5a8b1c535.zip
rockboy: Fix button read method.
The old method simply polled the lastbtn variable in button.c. This approach does not clear the button event queue which overflows as a result (panic in the simulator). Use proper APIs to fix that and adopt the method from the old read_scroll_wheel() function, which reads buttons until the button queue is empty, for all targets. Change-Id: Ibf198f6e597e7f51ab4ebcfcae4ebebbe8d7845c
Diffstat (limited to 'rbutil/mkimxboot/mkimxboot.c')
0 files changed, 0 insertions, 0 deletions