We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e1a6f6d commit e0f931aCopy full SHA for e0f931a
1 file changed
atmel-samd/common-hal/microcontroller/Pin.c
@@ -50,7 +50,7 @@ void reset_all_pins(void) {
50
uint32_t pin_mask[2] = PORT_OUT_IMPLEMENTED;
51
52
// Do not full reset USB or SWD lines.
53
- pin_mask[0] &= ~(PIN_PA24 | PIN_PA25 | PIN_PA30 | PIN_PA31);
+ pin_mask[0] &= ~(PORT_PA24 | PORT_PA25 | PORT_PA30 | PORT_PA31);
54
55
system_pinmux_group_set_config(&(PORT->Group[0]), pin_mask[0] & ~MICROPY_PORT_A, &config);
56
system_pinmux_group_set_config(&(PORT->Group[1]), pin_mask[1] & ~MICROPY_PORT_B, &config);
0 commit comments