diff options
author | Ryan <[email protected]> | 2024-05-03 15:21:29 +1000 |
---|---|---|
committer | GitHub <[email protected]> | 2024-05-03 15:21:29 +1000 |
commit | d09a06a1b354760fd0e64a453abade972900e885 (patch) | |
tree | 88d94640f4507ac8d7f570607423825bec3c6f89 /keyboards/strech/soulstone | |
parent | 5426a7a129acf2ff5c8b435014747f1238e17965 (diff) | |
download | qmk_firmware-d09a06a1b354760fd0e64a453abade972900e885.tar.gz qmk_firmware-d09a06a1b354760fd0e64a453abade972900e885.zip |
Update GPIO API usage in keyboard code (#23361)
Diffstat (limited to 'keyboards/strech/soulstone')
-rw-r--r-- | keyboards/strech/soulstone/soulstone.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/keyboards/strech/soulstone/soulstone.c b/keyboards/strech/soulstone/soulstone.c index 4a951aff9d..e6457a5271 100644 --- a/keyboards/strech/soulstone/soulstone.c +++ b/keyboards/strech/soulstone/soulstone.c @@ -18,13 +18,13 @@ // Prepare layer indicator LED void keyboard_post_init_kb(void) { - setPinOutput(LAYER_INDICATOR_LED_PIN); - writePinLow(LAYER_INDICATOR_LED_PIN); + gpio_set_pin_output(LAYER_INDICATOR_LED_PIN); + gpio_write_pin_low(LAYER_INDICATOR_LED_PIN); keyboard_post_init_user(); } // Function for layer indicator LED layer_state_t layer_state_set_kb(layer_state_t state) { - writePin(LAYER_INDICATOR_LED_PIN, !layer_state_cmp(state, 0)); + gpio_write_pin(LAYER_INDICATOR_LED_PIN, !layer_state_cmp(state, 0)); return layer_state_set_user(state); } |