commit | c48bcaae0aa792475b90fbd44a92af00b0076ff2 | [log] [tgz] |
---|---|---|
author | Martí Bolívar <marti.bolivar@nordicsemi.no> | Mon Apr 26 12:11:34 2021 -0700 |
committer | Carles Cufí <carles.cufi@nordicsemi.no> | Wed May 05 20:46:43 2021 +0200 |
tree | ad43957f0d218df3282b30ef37dc909d52fda48d | |
parent | 58617fbec7615b4a43448b70afab4d418e0fe9a5 [diff] |
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: Martí Bolívar <marti.bolivar@nordicsemi.no>