aboutsummaryrefslogtreecommitdiff
path: root/keyboards/kinesis
diff options
context:
space:
mode:
authorRyan <[email protected]>2024-05-25 04:38:57 +1000
committerGitHub <[email protected]>2024-05-24 19:38:57 +0100
commitb8f29c38652fb56fd122e61018778fd5355a8739 (patch)
treef7bc313204854bc8c5a31435ada3bfed2d741b35 /keyboards/kinesis
parent8ff8e9eae5b20b1a0a6cafe7689bfc34188f7aa8 (diff)
downloadqmk_firmware-b8f29c38652fb56fd122e61018778fd5355a8739.tar.gz
qmk_firmware-b8f29c38652fb56fd122e61018778fd5355a8739.zip
Update GPIO macros in keymaps (#23792)
Diffstat (limited to 'keyboards/kinesis')
-rw-r--r--keyboards/kinesis/keymaps/alvicstep/keymap.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/keyboards/kinesis/keymaps/alvicstep/keymap.c b/keyboards/kinesis/keymaps/alvicstep/keymap.c
index e9373ea214..0068ef7d95 100644
--- a/keyboards/kinesis/keymaps/alvicstep/keymap.c
+++ b/keyboards/kinesis/keymaps/alvicstep/keymap.c
@@ -111,11 +111,11 @@ KC_GRV,KC_LGUI,KC_ESC,MO(_NUMPAD), KC_LBRC,
layer_state_t layer_state_set_user(layer_state_t state) {
//set LEDs which are triggered by a layer change
#ifdef LED_COMPOSE_PIN
- writePin(LED_COMPOSE_PIN, !layer_state_cmp(state, _KEYPAD));
+ gpio_write_pin(LED_COMPOSE_PIN, !layer_state_cmp(state, _KEYPAD));
#endif
#ifdef LED_NUM_LOCK_PIN
- writePin(LED_NUM_LOCK_PIN, !layer_state_cmp(state, _NUMPAD));
+ gpio_write_pin(LED_NUM_LOCK_PIN, !layer_state_cmp(state, _NUMPAD));
#endif
return state;
@@ -123,11 +123,11 @@ layer_state_t layer_state_set_user(layer_state_t state) {
bool led_update_user(led_t led_state) {
#ifdef LED_CAPS_LOCK_PIN
- writePin(LED_CAPS_LOCK_PIN, !led_state.caps_lock);
+ gpio_write_pin(LED_CAPS_LOCK_PIN, !led_state.caps_lock);
#endif
#ifdef LED_SCROLL_LOCK_PIN
- writePin(LED_SCROLL_LOCK_PIN, !led_state.scroll_lock);
+ gpio_write_pin(LED_SCROLL_LOCK_PIN, !led_state.scroll_lock);
#endif
//disable default processing of LEDs