Skip to content
Commit 36e9029f authored by Peter Bigot's avatar Peter Bigot Committed by Andrzej Puzdrowski
Browse files

boot: zephyr: move to non-deprecated GPIO flags



GPIO_DIR_IN has been replaced by GPIO_INPUT, GPIO_PUD_PULL_UP by
GPIO_PULL_UP, and gpio_pin_read() by gpio_pin_get_raw().  Update the
code to use the preferred API if it available.  This avoids
deprecation warnings in the build.

Signed-off-by: default avatarPeter Bigot <peter.bigot@nordicsemi.no>
parent 1b19d2a1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment