summaryrefslogtreecommitdiffstats
path: root/keyboards/walletburner/cajal/keymaps/default/keymap.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/walletburner/cajal/keymaps/default/keymap.c')
-rw-r--r--keyboards/walletburner/cajal/keymaps/default/keymap.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/keyboards/walletburner/cajal/keymaps/default/keymap.c b/keyboards/walletburner/cajal/keymaps/default/keymap.c
index b985417537..4586e5695b 100644
--- a/keyboards/walletburner/cajal/keymaps/default/keymap.c
+++ b/keyboards/walletburner/cajal/keymaps/default/keymap.c
@@ -47,6 +47,16 @@ 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);
+}
+
layer_state_t layer_state_set_user(layer_state_t state) {
switch (get_highest_layer(state)) {
case 1: