8000
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 2a467f1 + 6d5ffc6 commit 5ccbb0bCopy full SHA for 5ccbb0b
ports/esp32s2/common-hal/microcontroller/Pin.c
@@ -134,7 +134,7 @@ bool pin_number_is_free(gpio_num_t pin_number) {
134
135
uint8_t offset = pin_number / 32;
136
uint32_t mask = 1 << (pin_number % 32);
137
- return (never_reset_pins[offset] & mask) == 0 && (in_use[offset] & mask) == 0;
+ return (in_use[offset] & mask) == 0;
138
}
139
140
bool common_hal_mcu_pin_is_free(const mcu_pin_obj_t *pin) {
0 commit comments