mirror of
https://github.com/espressif/esp-idf.git
synced 2025-10-07 21:47:21 +00:00

The `gpio_reset_pin` function attempted to enable internal pullup on pins which does not have one. This change adds a guard to `gpio_reset_pin` for calling `gpio_pullup_en` - the same guard that makes `gpio_pullup_en` print the error.