nrf: reset_pin_number: reset pin clears never-reset, mirroring samd
This commit is contained in:
parent
760a171903
commit
32fc8b0676
@ -93,6 +93,7 @@ void reset_pin_number(uint8_t pin_number) {
|
||||
|
||||
// Clear claimed bit.
|
||||
claimed_pins[nrf_pin_port(pin_number)] &= ~(1 << nrf_relative_pin_number(pin_number));
|
||||
never_reset_pins[nrf_pin_port(pin_number)] &= ~(1 << nrf_relative_pin_number(pin_number));
|
||||
|
||||
#ifdef MICROPY_HW_NEOPIXEL
|
||||
if (pin_number == MICROPY_HW_NEOPIXEL->number) {
|
||||
|
Loading…
Reference in New Issue
Block a user