circuitpython/atmel-samd/supervisor
Radomir Dopieralski 1c97b7f4df Gracefully reset the gamepad module
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.

(cherry picked from commit 470a23d4c9)

Conflicts:
	atmel-samd/main.c
2017-10-22 20:54:10 -07:00
..
filesystem.c atmel-samd: Add mass storage support. 2017-10-18 11:52:51 -07:00
port.c Gracefully reset the gamepad module 2017-10-22 20:54:10 -07:00
serial.c Add support for patching newer ASF4 code. (#292) 2017-09-28 23:33:44 -04:00