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

samples: button: devicetree cleanups



Use a gpio_dt_spec, dropping device_get_binding. This in turn lets us
write everything in a single main() without sacrificing readability
since the LED is optional.

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