diff options
| author | Ryan | 2024-05-24 20:38:57 +0200 |
|---|---|---|
| committer | GitHub | 2024-05-24 20:38:57 +0200 |
| commit | b8f29c38652fb56fd122e61018778fd5355a8739 (patch) | |
| tree | f7bc313204854bc8c5a31435ada3bfed2d741b35 /keyboards/dyz | |
| parent | 8ff8e9eae5b20b1a0a6cafe7689bfc34188f7aa8 (diff) | |
Update GPIO macros in keymaps (#23792)
Diffstat (limited to 'keyboards/dyz')
| -rw-r--r-- | keyboards/dyz/synthesis60/keymaps/default/keymap.c | 4 | ||||
| -rw-r--r-- | keyboards/dyz/synthesis60/keymaps/default_arrow/keymap.c | 4 | ||||
| -rw-r--r-- | keyboards/dyz/synthesis60/keymaps/via/keymap.c | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/keyboards/dyz/synthesis60/keymaps/default/keymap.c b/keyboards/dyz/synthesis60/keymaps/default/keymap.c index bdc705f90b..5173689dd0 100644 --- a/keyboards/dyz/synthesis60/keymaps/default/keymap.c +++ b/keyboards/dyz/synthesis60/keymaps/default/keymap.c @@ -48,9 +48,9 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { layer_state_t layer_state_set_user(layer_state_t state) { if (get_highest_layer(state) != 0) { - writePinLow(C6); + gpio_write_pin_low(C6); } else { - writePinHigh(C6); + gpio_write_pin_high(C6); } return state; } diff --git a/keyboards/dyz/synthesis60/keymaps/default_arrow/keymap.c b/keyboards/dyz/synthesis60/keymaps/default_arrow/keymap.c index 5ef6db4675..3836e902f2 100644 --- a/keyboards/dyz/synthesis60/keymaps/default_arrow/keymap.c +++ b/keyboards/dyz/synthesis60/keymaps/default_arrow/keymap.c @@ -48,9 +48,9 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { layer_state_t layer_state_set_user(layer_state_t state) { if (get_highest_layer(state) != 0) { - writePinLow(C6); + gpio_write_pin_low(C6); } else { - writePinHigh(C6); + gpio_write_pin_high(C6); } return state; } diff --git a/keyboards/dyz/synthesis60/keymaps/via/keymap.c b/keyboards/dyz/synthesis60/keymaps/via/keymap.c index bdc705f90b..5173689dd0 100644 --- a/keyboards/dyz/synthesis60/keymaps/via/keymap.c +++ b/keyboards/dyz/synthesis60/keymaps/via/keymap.c @@ -48,9 +48,9 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { layer_state_t layer_state_set_user(layer_state_t state) { if (get_highest_layer(state) != 0) { - writePinLow(C6); + gpio_write_pin_low(C6); } else { - writePinHigh(C6); + gpio_write_pin_high(C6); } return state; } |