diff options
Diffstat (limited to 'apps/plugins/resistor.c')
| -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; |