Quick fix for error (hopefully)

This commit is contained in:
Skylar Ittner 2025-07-11 21:09:47 -06:00
parent 9cfab18172
commit dc08a215c8

View File

@ -122,7 +122,7 @@ class USBHIDInterface(HIDInterface):
) )
def on_set_report(self, report_data, _report_id, _report_type): def on_set_report(self, report_data, _report_id, _report_type):
if report_data[1] == 0x50: if report_data[0] == 0x50:
print("Entering firmware update mode, power cycle to undo. Goodbye for now!") print("Entering firmware update mode, power cycle to undo. Goodbye for now!")
machine.bootloader() machine.bootloader()
else: else: