Fix compatibility with native PyUSB usb.core.Device.ctrl_transfer#11
Fix compatibility with native PyUSB usb.core.Device.ctrl_transfer#11tannewt merged 3 commits intoadafruit:mainfrom
usb.core.Device.ctrl_transfer#11Conversation
|
What is the difference? Should we update CircuitPython so we can remove this in the future? |
Native PyUSB uses the
After reviewing the PyUSB library code (https://github.com/pyusb/pyusb/blob/a63c4f01df62a20bf35ce973ac4ba623d6a7693d/usb/core.py#L1057-L1108), the problem might be that we're using a |
|
@tannewt I've determined that using |
|
This is context about bytearray support too: pyusb/pyusb#489 |
|
If proper |
Updating https://github.com/adafruit/Adafruit_CircuitPython_SEN6x to 1.0.4 from 1.0.3: > Merge pull request adafruit/Adafruit_CircuitPython_SEN6x#6 from shamlian/shamlian/fix_voc_nox_scale Updating https://github.com/adafruit/Adafruit_CircuitPython_USB_Host_Descriptors to 0.5.1 from 0.5.0: > Merge pull request adafruit/Adafruit_CircuitPython_USB_Host_Descriptors#11 from relic-se/blinka Updating https://github.com/adafruit/Adafruit_CircuitPython_YotoPlayer to 1.0.1 from 1.0.0: > more demos! > more demos!
This update accounts for the difference in the implementation of
usb.core.Device.ctrl_transferbetween native PyUSB and CircuitPython. Tested on MacOS with Python 3.14 and Adafruit Fruit Jam with CircuitPython 10.Related to adafruit/Adafruit_CircuitPython_USB_Host_Mouse#18