9bcc1057ca
If a soft reset happens while the gamepad module is scanning for button presses, there is a moment when the pins get de-initialized, but the gamepad module is still trying to read them, which ends in a crash. We can avoid it by disabling scanning on reset. |
||
---|---|---|
.. | ||
__init__.c | ||
__init__.h | ||
GamePad.c | ||
GamePad.h |