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:
Boris Gjenero 2011-12-02 01:58:07 +00:00
parent 7c0977b878
commit 8687c5cebb

View file

@ -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;