summaryrefslogtreecommitdiffstats
path: root/layouts/community/ortho_5x12/xyverz/keymap.c
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/community/ortho_5x12/xyverz/keymap.c')
-rw-r--r--layouts/community/ortho_5x12/xyverz/keymap.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/layouts/community/ortho_5x12/xyverz/keymap.c b/layouts/community/ortho_5x12/xyverz/keymap.c
index a0f1274d0..23a456e6d 100644
--- a/layouts/community/ortho_5x12/xyverz/keymap.c
+++ b/layouts/community/ortho_5x12/xyverz/keymap.c
@@ -175,6 +175,16 @@ void persistent_default_layer_set(uint16_t default_layer) {
default_layer_set(default_layer);
}
+void matrix_init_user(void) {
+#ifdef BOOTLOADER_CATERINA
+ // This will disable the red LEDs on the ProMicros
+ DDRD &= ~(1<<5);
+ PORTD &= ~(1<<5);
+ DDRB &= ~(1<<0);
+ PORTB &= ~(1<<0);
+#endif
+};
+
bool process_record_user(uint16_t keycode, keyrecord_t *record) {
switch (keycode) {
case QWERTY: