Update GPIO macros in keymaps (#23792)
This commit is contained in:
parent
612f8fb853
commit
d4e88f81ae
21 changed files with 108 additions and 108 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue