We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0c3b62f commit 721b7d8Copy full SHA for 721b7d8
1 file changed
ports/atmel-samd/common-hal/microcontroller/Pin.c
@@ -161,12 +161,11 @@ bool pin_number_is_free(uint8_t pin_number) {
161
return false;
162
}
163
if (pin_number == PIN_PA30
164
- #ifdef SAM_D5X_E5X
165
- ) {
166
- #endif
167
#ifdef SAMD21
168
- || pin_number == PIN_PA31) {
169
- #endif) {
+ || pin_number == PIN_PA31
+ #endif
+ )
+ {
170
return state->bit.PMUXEN == 1 && ((pmux->reg >> (4 * pin_index % 2)) & 0xf) == SWD_MUX;
171
172
0 commit comments