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

samples: hid-mouse: various cleanups



Use the new GPIO_DT_SPEC_GET_OR() macro to clean up the node detection
code by eliminating conditional compilation. This increases code
coverage on platforms where not all the devicetree nodes are
available.

Clean up some whitespace while we're at it.

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