Update GPIO macros in keymaps (#23792)

This commit is contained in:
Ryan 2024-05-25 04:38:57 +10:00 committed by GitHub
parent 612f8fb853
commit d4e88f81ae
21 changed files with 108 additions and 108 deletions

View file

@ -50,10 +50,10 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
void matrix_scan_user(void) {
writePin(A7, layer_state_is(1));
gpio_write_pin(A7, layer_state_is(1));
}
bool led_update_user(led_t led_state) {
writePin(LED_CAPS_LOCK_PIN, led_state.caps_lock);
gpio_write_pin(LED_CAPS_LOCK_PIN, led_state.caps_lock);
return false;
};