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

samples: st_ble_sensor: clean up



This sample is a bit messy; clean it up.

Remove unused includes, add missing include guards, clean up the
separation of responsibilities between main.c and the button and LED
helper files by moving code around, and replace the now-outmoded
device_get_binding() calls with GPIO_DT_SPEC_GET().

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