Change pinfunc to default of 0 at reset

This commit is contained in:
Lucian Copeland 2020-12-14 14:25:38 -05:00
parent c1a2ea27ce
commit d793ec2872
1 changed files with 1 additions and 0 deletions

View File

@ -55,6 +55,7 @@ STATIC void floating_gpio_reset(gpio_num_t pin_number) {
.intr_type = GPIO_INTR_DISABLE,
};
gpio_config(&cfg);
PIN_FUNC_SELECT(GPIO_PIN_MUX_REG[pin_number], 0);
}
void never_reset_pin_number(gpio_num_t pin_number) {