summaryrefslogtreecommitdiff
path: root/src/drivers/DebugPins.cpp
diff options
context:
space:
mode:
authorFinlay Davidson <finlay.davidson@coderclass.nl>2023-01-03 14:05:30 +0000
committerJF <JF002@users.noreply.github.com>2023-01-04 17:15:33 +0100
commiteda96ffadc824742bf937c58f5295c86389a6d5e (patch)
tree1780b2fff3719f721c534cee192d28da945c9ff9 /src/drivers/DebugPins.cpp
parent318a243df1ad844ed487b936eb7edde876fc5ef6 (diff)
Update clang-{format,tidy} to 14
Also add configuration options only available in 13 and 14. Fixes warning about -fstack-usage in clang-tidy check.
Diffstat (limited to 'src/drivers/DebugPins.cpp')
-rw-r--r--src/drivers/DebugPins.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/drivers/DebugPins.cpp b/src/drivers/DebugPins.cpp
index 4b2f0f16..6d24ca04 100644
--- a/src/drivers/DebugPins.cpp
+++ b/src/drivers/DebugPins.cpp
@@ -18,6 +18,7 @@ void debugpins_init() {
nrf_gpio_cfg_output(DebugPin4);
nrf_gpio_pin_clear(DebugPin4);
}
+
void debugpins_set(debugpins_pins pin) {
nrf_gpio_pin_set(static_cast<uint32_t>(pin));
}
@@ -33,6 +34,7 @@ void debugpins_pulse(debugpins_pins pin) {
#else
void debugpins_init() {
}
+
void debugpins_set(debugpins_pins pin) {
}