-
Notifications
You must be signed in to change notification settings - Fork 25
Crash at initialisation when usb_midi is disabled in boot.py #33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Since this is similar to #35 I did some testing to see if this could be addressed in a similar way. It looked like a I tested this out as a fix and it worked out well, so I've submitted the patch in PR (#37). I just noticed this got assigned to you, @makermelissa, so I hope I didn't step on any toes here by just tackling this real quick. |
thanks! we'll look to review :) |
Fixed by #37. |
Thank you everyone! |
I know this is not a common use case but certainly can be addressed somehow.
When I disabled
usb_midi
inboot.py
:Then initialise
adafruit_macropad
incode.py
:It throws an
IndexError
:Which references
Adafruit_CircuitPython_MacroPad/adafruit_macropad.py
Lines 170 to 177 in 97e3712
Well this makes sense. As macropad lib also initialise hid devices and similar, I haven't tried if I disable HID would it crashes the library, too.
And of course if I simply get rid of
adafruit_midi
library, macropad lib crashes as well.Maybe those things should really be modular? Thanks
The text was updated successfully, but these errors were encountered: