Skip to content
Commit efc0e754 authored by Martí Bolívar's avatar Martí Bolívar Committed by Carles Cufi
Browse files

samples: blinky: use a gpio_dt_spec



Using a gpio_dt_spec is the current best practice for getting at pins
defined in the DT, because it gets all the boilerplate and flags right
for you. Use that in blinky, keeping the documentation in sync with
the code.

Signed-off-by: default avatarMartí Bolívar <marti.bolivar@nordicsemi.no>
parent c0cc6c7b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment