summaryrefslogtreecommitdiff
path: root/apps/plugins/resistor.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/resistor.c')
-rw-r--r--apps/plugins/resistor.c2
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;