Merge pull request #5427 from EmergReanimator/main
Lose dependency to USB via CIRCUITPY_USB define for atmel port.
This commit is contained in:
commit
e8f21f012c
@ -52,7 +52,9 @@ void reset_all_pins(void) {
|
||||
uint32_t pin_mask[PORT_COUNT] = PORT_OUT_IMPLEMENTED;
|
||||
|
||||
// Do not full reset USB lines.
|
||||
#if CIRCUITPY_USB
|
||||
pin_mask[0] &= ~(PORT_PA24 | PORT_PA25);
|
||||
#endif
|
||||
|
||||
// Do not reset SWD when a debugger is present.
|
||||
if (DSU->STATUSB.bit.DBGPRES == 1) {
|
||||
|
Loading…
Reference in New Issue
Block a user