Skip to content
Snippets Groups Projects
Commit 673db939 authored by Damien George's avatar Damien George
Browse files

esp32/machine_pin: Rework pull mode config to fix GPIO hold feature.

For gpio_hold_en() to work properly (not draw additional current) pull
up/down must be disabled when hold is enabled.  This patch makes sure this
is the case by reworking the pull constants to be a bit mask.
parent e0c6dfe9
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment