We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents fd9c3d1 + e636db7 commit e8f21f0Copy full SHA for e8f21f0
ports/atmel-samd/common-hal/microcontroller/Pin.c
@@ -52,7 +52,9 @@ void reset_all_pins(void) {
52
uint32_t pin_mask[PORT_COUNT] = PORT_OUT_IMPLEMENTED;
53
54
// Do not full reset USB lines.
55
+ #if CIRCUITPY_USB
56
pin_mask[0] &= ~(PORT_PA24 | PORT_PA25);
57
+ #endif
58
59
// Do not reset SWD when a debugger is present.
60
if (DSU->STATUSB.bit.DBGPRES == 1) {
0 commit comments