Skip to content
Snippets Groups Projects
Commit e9d77a5b authored by Pixtxa's avatar Pixtxa
Browse files

Bugfix

parent 7955f13e
No related branches found
No related tags found
1 merge request!433Simple Menu
......@@ -338,7 +338,7 @@ class Menu:
elif ev == self.button_select:
t0 = time.time()
long_press = False
while buttons.read(buttons.TOP_RIGHT) > 0:
while buttons.read(buttons.button_select) > 0:
if time.time() - t0 > 1:
long_press = True
break
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment