mirror of
https://github.com/jtgans/g13gui.git
synced 2025-07-09 17:31:41 -04:00
g13gui: manager: Ensure both the header and buffer are bytes
This commit is contained in:
parent
054d31033f
commit
8a6fc4b0f0
@ -181,7 +181,8 @@ class Manager(threading.Thread):
|
||||
header[0] = 0x03
|
||||
|
||||
self._device.write(
|
||||
usb.util.CTRL_OUT | G13Endpoints.LCD.value, bytes(header) + buffer)
|
||||
usb.util.CTRL_OUT | G13Endpoints.LCD.value,
|
||||
bytes(header) + bytes(buffer))
|
||||
|
||||
def _processCommands(self):
|
||||
while True:
|
||||
|
Loading…
Reference in New Issue
Block a user