From b8f29c38652fb56fd122e61018778fd5355a8739 Mon Sep 17 00:00:00 2001 From: Ryan Date: Sat, 25 May 2024 04:38:57 +1000 Subject: Update GPIO macros in keymaps (#23792) --- keyboards/punk75/keymaps/default/keymap.c | 2 +- keyboards/punk75/keymaps/via/keymap.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'keyboards/punk75') 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) { -- cgit v1.2.3