espressif: keep never_reset_pins marked as in use

This commit is contained in:
Jeff Epler 2021-12-06 09:52:20 -06:00 committed by Jeff Epler
parent b8ca1ce838
commit fae6d47a45
No known key found for this signature in database
GPG Key ID: D5BF15AB975AB4DE

View File

@ -95,8 +95,8 @@ void reset_all_pins(void) {
}
floating_gpio_reset(i);
}
in_use[0] = 0;
in_use[1] = 0;
in_use[0] = never_reset_pins[0];
in_use[1] = never_reset_pins[1];
}
void claim_pin_number(gpio_num_t pin_number) {