diff options
author | Ryan <[email protected]> | 2024-05-25 04:38:57 +1000 |
---|---|---|
committer | GitHub <[email protected]> | 2024-05-24 19:38:57 +0100 |
commit | b8f29c38652fb56fd122e61018778fd5355a8739 (patch) | |
tree | f7bc313204854bc8c5a31435ada3bfed2d741b35 /keyboards/handwired/dqz11n1g | |
parent | 8ff8e9eae5b20b1a0a6cafe7689bfc34188f7aa8 (diff) | |
download | qmk_firmware-b8f29c38652fb56fd122e61018778fd5355a8739.tar.gz qmk_firmware-b8f29c38652fb56fd122e61018778fd5355a8739.zip |
Update GPIO macros in keymaps (#23792)
Diffstat (limited to 'keyboards/handwired/dqz11n1g')
-rw-r--r-- | keyboards/handwired/dqz11n1g/keymaps/default/keymap.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/keyboards/handwired/dqz11n1g/keymaps/default/keymap.c b/keyboards/handwired/dqz11n1g/keymaps/default/keymap.c index 29d9cad7b7..2a4ca0c703 100644 --- a/keyboards/handwired/dqz11n1g/keymaps/default/keymap.c +++ b/keyboards/handwired/dqz11n1g/keymaps/default/keymap.c @@ -54,12 +54,12 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { /* Show "Fun Lock" layer state via the "Fun Lock" LED */ layer_state_t layer_state_set_user(layer_state_t state) { - setPinOutput(LED_FUN_LOCK_PIN); + gpio_set_pin_output(LED_FUN_LOCK_PIN); if (layer_state_cmp(state, _FUNCTION)) - writePinHigh(LED_FUN_LOCK_PIN); + gpio_write_pin_high(LED_FUN_LOCK_PIN); else - writePinLow(LED_FUN_LOCK_PIN); + gpio_write_pin_low(LED_FUN_LOCK_PIN); return state; } |