Skip to content

Commit 1ddb829

Browse files
Invert the if
1 parent ee95ffb commit 1ddb829

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Pathfinder/pathfinder_touch.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@
8686
pyportal.play_file("/vo/pathfnd_silent.wav") # hack to deal w no mute method
8787

8888
while True:
89-
if pyportal.touchscreen.touch_point:
89+
if not pyportal.touchscreen.touch_point:
9090
time.sleep(0.01)
9191
continue
9292

0 commit comments

Comments
 (0)