diff options
author | Ryan <[email protected]> | 2024-05-25 04:38:57 +1000 |
---|---|---|
committer | GitHub <[email protected]> | 2024-05-24 19:38:57 +0100 |
commit | b8f29c38652fb56fd122e61018778fd5355a8739 (patch) | |
tree | f7bc313204854bc8c5a31435ada3bfed2d741b35 /keyboards/darkproject | |
parent | 8ff8e9eae5b20b1a0a6cafe7689bfc34188f7aa8 (diff) | |
download | qmk_firmware-b8f29c38652fb56fd122e61018778fd5355a8739.tar.gz qmk_firmware-b8f29c38652fb56fd122e61018778fd5355a8739.zip |
Update GPIO macros in keymaps (#23792)
Diffstat (limited to 'keyboards/darkproject')
4 files changed, 4 insertions, 4 deletions
diff --git a/keyboards/darkproject/kd83a_bfg_edition/keymaps/default/keymap.c b/keyboards/darkproject/kd83a_bfg_edition/keymaps/default/keymap.c index 0d426d3c9a..0c23701f5b 100644 --- a/keyboards/darkproject/kd83a_bfg_edition/keymaps/default/keymap.c +++ b/keyboards/darkproject/kd83a_bfg_edition/keymaps/default/keymap.c @@ -73,6 +73,6 @@ const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = { #endif layer_state_t layer_state_set_user(layer_state_t state) { - writePin(C0, layer_state_cmp(state, 1)); + gpio_write_pin(C0, layer_state_cmp(state, 1)); return state; }; diff --git a/keyboards/darkproject/kd83a_bfg_edition/keymaps/via/keymap.c b/keyboards/darkproject/kd83a_bfg_edition/keymaps/via/keymap.c index 0d426d3c9a..0c23701f5b 100644 --- a/keyboards/darkproject/kd83a_bfg_edition/keymaps/via/keymap.c +++ b/keyboards/darkproject/kd83a_bfg_edition/keymaps/via/keymap.c @@ -73,6 +73,6 @@ const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = { #endif layer_state_t layer_state_set_user(layer_state_t state) { - writePin(C0, layer_state_cmp(state, 1)); + gpio_write_pin(C0, layer_state_cmp(state, 1)); return state; }; diff --git a/keyboards/darkproject/kd87a_bfg_edition/keymaps/default/keymap.c b/keyboards/darkproject/kd87a_bfg_edition/keymaps/default/keymap.c index 5f475caa1b..8d48ed9acf 100644 --- a/keyboards/darkproject/kd87a_bfg_edition/keymaps/default/keymap.c +++ b/keyboards/darkproject/kd87a_bfg_edition/keymaps/default/keymap.c @@ -64,6 +64,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { }; layer_state_t layer_state_set_user(layer_state_t state) { - writePin(C0, layer_state_cmp(state, 1)); + gpio_write_pin(C0, layer_state_cmp(state, 1)); return state; };
\ No newline at end of file diff --git a/keyboards/darkproject/kd87a_bfg_edition/keymaps/via/keymap.c b/keyboards/darkproject/kd87a_bfg_edition/keymaps/via/keymap.c index 300855c452..e4de9aff08 100644 --- a/keyboards/darkproject/kd87a_bfg_edition/keymaps/via/keymap.c +++ b/keyboards/darkproject/kd87a_bfg_edition/keymaps/via/keymap.c @@ -64,6 +64,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { }; layer_state_t layer_state_set_user(layer_state_t state) { - writePin(C0, layer_state_cmp(state, 1)); + gpio_write_pin(C0, layer_state_cmp(state, 1)); return state; }; |