diff options
| author | Ryan <fauxpark@gmail.com> | 2024-02-18 17:08:27 +1100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-18 17:08:27 +1100 |
| commit | 2d1aed78a67b3d2b002cc739ef087963b05b76b8 (patch) | |
| tree | ea681d02e547332cffa6b7aec6c16ef37ad70ee3 /quantum/haptic.c | |
| parent | 6810aaf0130113e267e20fb506d874cc858f5f67 (diff) | |
Update GPIO macro usages in core (#23093)
Diffstat (limited to 'quantum/haptic.c')
| -rw-r--r-- | quantum/haptic.c | 8 |
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) { | |||
| 96 | #endif | 96 | #endif |
| 97 | eeconfig_debug_haptic(); | 97 | eeconfig_debug_haptic(); |
| 98 | #ifdef HAPTIC_ENABLE_PIN | 98 | #ifdef HAPTIC_ENABLE_PIN |
| 99 | setPinOutput(HAPTIC_ENABLE_PIN); | 99 | gpio_set_pin_output(HAPTIC_ENABLE_PIN); |
| 100 | #endif | 100 | #endif |
| 101 | #ifdef HAPTIC_ENABLE_STATUS_LED | 101 | #ifdef HAPTIC_ENABLE_STATUS_LED |
| 102 | setPinOutput(HAPTIC_ENABLE_STATUS_LED); | 102 | gpio_set_pin_output(HAPTIC_ENABLE_STATUS_LED); |
| 103 | #endif | 103 | #endif |
| 104 | } | 104 | } |
| 105 | 105 | ||
| @@ -356,9 +356,9 @@ void haptic_shutdown(void) { | |||
| 356 | void haptic_notify_usb_device_state_change(void) { | 356 | void haptic_notify_usb_device_state_change(void) { |
| 357 | update_haptic_enable_gpios(); | 357 | update_haptic_enable_gpios(); |
| 358 | #if defined(HAPTIC_ENABLE_PIN) | 358 | #if defined(HAPTIC_ENABLE_PIN) |
| 359 | setPinOutput(HAPTIC_ENABLE_PIN); | 359 | gpio_set_pin_output(HAPTIC_ENABLE_PIN); |
| 360 | #endif | 360 | #endif |
| 361 | #if defined(HAPTIC_ENABLE_STATUS_LED) | 361 | #if defined(HAPTIC_ENABLE_STATUS_LED) |
| 362 | setPinOutput(HAPTIC_ENABLE_STATUS_LED); | 362 | gpio_set_pin_output(HAPTIC_ENABLE_STATUS_LED); |
| 363 | #endif | 363 | #endif |
| 364 | } | 364 | } |
