Skip to content
Commit 608e6a30 authored by Andrew Featherstone's avatar Andrew Featherstone Committed by Benjamin Cabé
Browse files

drivers: gpio_rpi_pico: Disable inputs when not in use



Reorder gpio_rpi_configure to disable input buffers when not in use.
gpio_rpi_get_config can then determine whether a pin is configured as an
input without requiring additional state variables, as well as reducing
input leakage current.

Signed-off-by: default avatarAndrew Featherstone <andrew.featherstone@gmail.com>
parent 27c41b42
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment