mirror of
https://github.com/dekuNukem/USB4VC.git
synced 2025-10-31 11:26:46 -07:00
working on OLED queues
This commit is contained in:
@@ -5,6 +5,8 @@ import spidev
|
||||
import threading
|
||||
import RPi.GPIO as GPIO
|
||||
|
||||
from usb4vc_oled import oled_display_queue
|
||||
|
||||
"""
|
||||
sudo apt install stm32flash
|
||||
|
||||
@@ -174,6 +176,7 @@ def usb_device_scan_worker():
|
||||
device_file_list = os.listdir(input_device_path)
|
||||
except FileNotFoundError:
|
||||
print("No input devices found")
|
||||
oled_display_queue.put((0, 'no input'))
|
||||
continue
|
||||
except Exception as e:
|
||||
print('list input device exception:', e)
|
||||
|
||||
Reference in New Issue
Block a user