summaryrefslogtreecommitdiff
path: root/quantum/haptic.c
diff options
context:
space:
mode:
authorNick Brassel <nick@tzarc.org>2024-02-28 21:47:37 +1100
committerNick Brassel <nick@tzarc.org>2024-02-28 21:47:37 +1100
commit4e369d405af6bba1adce6337b2e1b1ea1788566c (patch)
treeb0f020feff1809e37c9e7795d344929ff0bb290a /quantum/haptic.c
parent4e04da397ef643f8fcf4afbe1d19f63aee1fc561 (diff)
parentdd1706e468bb18dd7f7ae143de735a5d3be1bfb8 (diff)
Merge branch 'develop'
Diffstat (limited to 'quantum/haptic.c')
-rw-r--r--quantum/haptic.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/quantum/haptic.c b/quantum/haptic.c
index a1fea29625..6a466293a7 100644
--- a/quantum/haptic.c
+++ b/quantum/haptic.c
@@ -96,10 +96,10 @@ void haptic_init(void) {
#endif
eeconfig_debug_haptic();
#ifdef HAPTIC_ENABLE_PIN
- setPinOutput(HAPTIC_ENABLE_PIN);
+ gpio_set_pin_output(HAPTIC_ENABLE_PIN);
#endif
#ifdef HAPTIC_ENABLE_STATUS_LED
- setPinOutput(HAPTIC_ENABLE_STATUS_LED);
+ gpio_set_pin_output(HAPTIC_ENABLE_STATUS_LED);
#endif
}
@@ -356,9 +356,9 @@ void haptic_shutdown(void) {
void haptic_notify_usb_device_state_change(void) {
update_haptic_enable_gpios();
#if defined(HAPTIC_ENABLE_PIN)
- setPinOutput(HAPTIC_ENABLE_PIN);
+ gpio_set_pin_output(HAPTIC_ENABLE_PIN);
#endif
#if defined(HAPTIC_ENABLE_STATUS_LED)
- setPinOutput(HAPTIC_ENABLE_STATUS_LED);
+ gpio_set_pin_output(HAPTIC_ENABLE_STATUS_LED);
#endif
}