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

Bugfix

parent a924fdad
No related branches found
No related tags found
No related merge requests found
......@@ -92,7 +92,7 @@ def button_events(timeout=None, long_press_ms=LONG_PRESS_MS, retrigger_ms=RETRIG
if (
not still_pressed
and long_press_ms
and time.time_ms() - t0 <= long_press_ms:
and ((time.time_ms() - t0) <= long_press_ms)
):
pass
else:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment