summaryrefslogtreecommitdiff
path: root/src/drivers/DebugPins.cpp
diff options
context:
space:
mode:
authorJoaquim <joaquim.org@gmail.com>2021-04-26 21:29:48 +0100
committerJoaquim <joaquim.org@gmail.com>2021-04-26 21:29:48 +0100
commitcd0d85dff95bbc5f285d92eb78a642aab1ae4b8b (patch)
treefc568aa2516c8c64cc55eb0d08e9a929c11b454a /src/drivers/DebugPins.cpp
parent5fc07a8df7d18d1fa9c4971f2c7b69ea68db559b (diff)
parenteedff2c06c292bda8dcb92fc04c67097fe72e22f (diff)
Merge branch 'develop' of
https://github.com/JF002/InfiniTime into StepsApp
Diffstat (limited to 'src/drivers/DebugPins.cpp')
-rw-r--r--src/drivers/DebugPins.cpp12
1 files changed, 4 insertions, 8 deletions
diff --git a/src/drivers/DebugPins.cpp b/src/drivers/DebugPins.cpp
index 8457ba5f..56fd1458 100644
--- a/src/drivers/DebugPins.cpp
+++ b/src/drivers/DebugPins.cpp
@@ -19,31 +19,27 @@ void debugpins_init() {
nrf_gpio_pin_clear(DebugPin4);
}
void debugpins_set(debugpins_pins pin) {
- nrf_gpio_pin_set((uint32_t)(pin));
+ nrf_gpio_pin_set((uint32_t) (pin));
}
void debugpins_clear(debugpins_pins pin) {
- nrf_gpio_pin_clear((uint32_t)(pin));
+ nrf_gpio_pin_clear((uint32_t) (pin));
}
void debugpins_pulse(debugpins_pins pin) {
- nrf_gpio_pin_set((uint32_t)(pin));
- nrf_gpio_pin_clear((uint32_t)(pin));
+ nrf_gpio_pin_set((uint32_t) (pin));
+ nrf_gpio_pin_clear((uint32_t) (pin));
}
#else
void debugpins_init() {
-
}
void debugpins_set(debugpins_pins pin) {
-
}
void debugpins_clear(debugpins_pins pin) {
-
}
void debugpins_pulse(debugpins_pins pin) {
-
}
#endif \ No newline at end of file