aboutsummaryrefslogtreecommitdiff
path: root/keyboards/dyz
diff options
context:
space:
mode:
authorRyan <[email protected]>2024-05-25 04:38:57 +1000
committerGitHub <[email protected]>2024-05-24 19:38:57 +0100
commitb8f29c38652fb56fd122e61018778fd5355a8739 (patch)
treef7bc313204854bc8c5a31435ada3bfed2d741b35 /keyboards/dyz
parent8ff8e9eae5b20b1a0a6cafe7689bfc34188f7aa8 (diff)
downloadqmk_firmware-b8f29c38652fb56fd122e61018778fd5355a8739.tar.gz
qmk_firmware-b8f29c38652fb56fd122e61018778fd5355a8739.zip
Update GPIO macros in keymaps (#23792)
Diffstat (limited to 'keyboards/dyz')
-rw-r--r--keyboards/dyz/synthesis60/keymaps/default/keymap.c4
-rw-r--r--keyboards/dyz/synthesis60/keymaps/default_arrow/keymap.c4
-rw-r--r--keyboards/dyz/synthesis60/keymaps/via/keymap.c4
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;
}