diff options
Diffstat (limited to 'keyboards/walletburner/cajal/keymaps/default_ortho/keymap.c')
-rw-r--r-- | keyboards/walletburner/cajal/keymaps/default_ortho/keymap.c | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/keyboards/walletburner/cajal/keymaps/default_ortho/keymap.c b/keyboards/walletburner/cajal/keymaps/default_ortho/keymap.c index 87575e492f..2947f31ca8 100644 --- a/keyboards/walletburner/cajal/keymaps/default_ortho/keymap.c +++ b/keyboards/walletburner/cajal/keymaps/default_ortho/keymap.c @@ -49,34 +49,34 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { //Initialize indicator LEDs void matrix_init_user(void) { - setPinOutput(B5); - writePinLow(B5); - setPinOutput(B6); - writePinLow(B6); - setPinOutput(B7); - writePinLow(B7); + gpio_set_pin_output(B5); + gpio_write_pin_low(B5); + gpio_set_pin_output(B6); + gpio_write_pin_low(B6); + gpio_set_pin_output(B7); + gpio_write_pin_low(B7); } layer_state_t layer_state_set_user(layer_state_t state) { - writePinLow(B7); - writePinLow(B6); + gpio_write_pin_low(B7); + gpio_write_pin_low(B6); switch (get_highest_layer(state)) { case 1: - writePinHigh(B7); + gpio_write_pin_high(B7); break; case 2: - writePinHigh(B6); + gpio_write_pin_high(B6); break; case 3: - writePinHigh(B7); - writePinHigh(B6); + gpio_write_pin_high(B7); + gpio_write_pin_high(B6); break; } return state; } bool led_update_user(led_t led_state) { - writePin(B5, led_state.caps_lock); + gpio_write_pin(B5, led_state.caps_lock); return false; } |