mirror of
https://github.com/dekuNukem/USB4VC.git
synced 2025-10-31 11:26:46 -07:00
minor wording change
This commit is contained in:
@@ -784,7 +784,7 @@ class usb4vc_menu(object):
|
|||||||
if page == 0:
|
if page == 0:
|
||||||
with canvas(oled_device) as draw:
|
with canvas(oled_device) as draw:
|
||||||
oled_print_centered("Wait Until Green", font_medium, 0, 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)
|
time.sleep(1)
|
||||||
os.system("sudo halt")
|
os.system("sudo halt")
|
||||||
while 1:
|
while 1:
|
||||||
|
|||||||
@@ -476,6 +476,8 @@ def raw_input_event_worker():
|
|||||||
joystick_hold_update()
|
joystick_hold_update()
|
||||||
next_gamepad_hold_check = now + gamepad_hold_check_interval
|
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:
|
if now - last_usb_event > 1:
|
||||||
time.sleep(0.005)
|
time.sleep(0.005)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user