diff options
author | Thomas Martitz <kugel@rockbox.org> | 2014-01-18 19:47:55 +0100 |
---|---|---|
committer | Thomas Martitz <kugel@rockbox.org> | 2014-01-18 19:47:55 +0100 |
commit | c448d7e79c841ef483e685ca785114e5a8b1c535 (patch) | |
tree | 562928e854ad6f2b1ab6a89ec71441f83bae4b5b /rbutil/mkimxboot/dualboot.c | |
parent | b31c856b842096e5128a86a8316083190527d467 (diff) | |
download | rockbox-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/dualboot.c')
0 files changed, 0 insertions, 0 deletions