minor wording change

This commit is contained in:
dekunukem
2022-02-03 09:26:14 +00:00
parent 847ee615e2
commit 0d0726746c
2 changed files with 3 additions and 1 deletions

View File

@@ -784,7 +784,7 @@ class usb4vc_menu(object):
if page == 0:
with canvas(oled_device) as draw:
oled_print_centered("Wait Until Green", font_medium, 0, draw)
oled_print_centered("LED Turns Off", font_medium, 15, draw)
oled_print_centered("LED Stays Off", font_medium, 15, draw)
time.sleep(1)
os.system("sudo halt")
while 1:

View File

@@ -476,6 +476,8 @@ def raw_input_event_worker():
joystick_hold_update()
next_gamepad_hold_check = now + gamepad_hold_check_interval
# give other threads some breathing room if
# no USB input events
if now - last_usb_event > 1:
time.sleep(0.005)