diff options
| author | Boris Gjenero <dreamlayers@rockbox.org> | 2011-12-02 01:58:07 +0000 |
|---|---|---|
| committer | Boris Gjenero <dreamlayers@rockbox.org> | 2011-12-02 01:58:07 +0000 |
| commit | 8687c5cebb458e983fa858f37a3bb1e1916fbfb2 (patch) | |
| tree | dbc418e0189fb90e7962c2ad1c2e4a5740430719 /apps/plugins | |
| parent | 7c0977b8786c738a5a7d053b2b2e4fe43bd2abb5 (diff) | |
| download | rockbox-8687c5cebb458e983fa858f37a3bb1e1916fbfb2.zip rockbox-8687c5cebb458e983fa858f37a3bb1e1916fbfb2.tar.gz rockbox-8687c5cebb458e983fa858f37a3bb1e1916fbfb2.tar.bz2 rockbox-8687c5cebb458e983fa858f37a3bb1e1916fbfb2.tar.xz | |
Fix FS#11675 : LED resistor calculator does not wait for keypress. Thanks to Michael Chicoine for reporting the bug.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31107 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins')
| -rw-r--r-- | apps/plugins/resistor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/resistor.c b/apps/plugins/resistor.c index e7693f6..8dea817 100644 --- a/apps/plugins/resistor.c +++ b/apps/plugins/resistor.c @@ -760,7 +760,7 @@ static void led_resistance_calc(void) rb->lcd_update(); - button_press = rb->button_get(true); + while ((button_press = rb->button_get(true)) & BUTTON_REL); switch(button_press) { case PLA_SELECT: break; |