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/handwired/kbod | |
parent | 8ff8e9eae5b20b1a0a6cafe7689bfc34188f7aa8 (diff) | |
download | qmk_firmware-b8f29c38652fb56fd122e61018778fd5355a8739.tar.gz qmk_firmware-b8f29c38652fb56fd122e61018778fd5355a8739.zip |
Update GPIO macros in keymaps (#23792)
Diffstat (limited to 'keyboards/handwired/kbod')
-rw-r--r-- | keyboards/handwired/kbod/keymaps/default/keymap.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/keyboards/handwired/kbod/keymaps/default/keymap.c b/keyboards/handwired/kbod/keymaps/default/keymap.c index 856f0eda60..24fc4c20af 100644 --- a/keyboards/handwired/kbod/keymaps/default/keymap.c +++ b/keyboards/handwired/kbod/keymaps/default/keymap.c @@ -76,15 +76,15 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) { } void matrix_init_user(void) { - setPinOutput(C7); - writePinLow(C7); + gpio_set_pin_output(C7); + gpio_write_pin_low(C7); } layer_state_t layer_state_set_user(layer_state_t state) { if (get_highest_layer(state)) { - writePinHigh(C7); + gpio_write_pin_high(C7); } else { - writePinLow(C7); + gpio_write_pin_low(C7); } return state; } |