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/punk75/keymaps | |
parent | 8ff8e9eae5b20b1a0a6cafe7689bfc34188f7aa8 (diff) | |
download | qmk_firmware-b8f29c38652fb56fd122e61018778fd5355a8739.tar.gz qmk_firmware-b8f29c38652fb56fd122e61018778fd5355a8739.zip |
Update GPIO macros in keymaps (#23792)
Diffstat (limited to 'keyboards/punk75/keymaps')
-rw-r--r-- | keyboards/punk75/keymaps/default/keymap.c | 2 | ||||
-rw-r--r-- | keyboards/punk75/keymaps/via/keymap.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/keyboards/punk75/keymaps/default/keymap.c b/keyboards/punk75/keymaps/default/keymap.c index c867e0e493..9a6ef29307 100644 --- a/keyboards/punk75/keymaps/default/keymap.c +++ b/keyboards/punk75/keymaps/default/keymap.c @@ -69,7 +69,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { void led_keypress_update(pin_t led_pin, uint16_t keycode, keyrecord_t *record) { // When a key is pressed turn on the LED, when released turn it off - writePin(led_pin, record->event.pressed); + gpio_write_pin(led_pin, record->event.pressed); } bool process_record_user(uint16_t keycode, keyrecord_t *record) { diff --git a/keyboards/punk75/keymaps/via/keymap.c b/keyboards/punk75/keymaps/via/keymap.c index e284c525b6..72ef91fd37 100644 --- a/keyboards/punk75/keymaps/via/keymap.c +++ b/keyboards/punk75/keymaps/via/keymap.c @@ -64,7 +64,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { void led_keypress_update(pin_t led_pin, uint16_t keycode, keyrecord_t *record) { // When a key is pressed turn on the LED, when released turn it off - writePin(led_pin, record->event.pressed); + gpio_write_pin(led_pin, record->event.pressed); } bool process_record_user(uint16_t keycode, keyrecord_t *record) { |