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
This commit is contained in:
parent
7c0977b878
commit
8687c5cebb
1 changed files with 1 additions and 1 deletions
|
@ -760,7 +760,7 @@ static void led_resistance_calc(void)
|
||||||
|
|
||||||
rb->lcd_update();
|
rb->lcd_update();
|
||||||
|
|
||||||
button_press = rb->button_get(true);
|
while ((button_press = rb->button_get(true)) & BUTTON_REL);
|
||||||
switch(button_press) {
|
switch(button_press) {
|
||||||
case PLA_SELECT:
|
case PLA_SELECT:
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue