From 3da6b9832e8e60cbd392105850a864714e58069a Mon Sep 17 00:00:00 2001 From: Joel Challis Date: Sun, 28 Feb 2021 15:50:15 +0000 Subject: [PATCH] Overhaul bootmagic logic to have single entrypoint (#8532) * Relocate bootmagic logic to have single entrypoint * Align init of layer state --- quantum/bootmagic/bootmagic_full.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/quantum/bootmagic/bootmagic_full.c b/quantum/bootmagic/bootmagic_full.c index a7a0dcfcb2cb..eef941005d28 100644 --- a/quantum/bootmagic/bootmagic_full.c +++ b/quantum/bootmagic/bootmagic_full.c @@ -133,7 +133,7 @@ void bootmagic(void) { default_layer |= (1 << 5); } else if (bootmagic_scan_keycode(BOOTMAGIC_KEY_DEFAULT_LAYER_6)) { default_layer |= (1 << 6); - } else if (bootmagic_scan_keycode(BOOTMAGIC_KEY_DEFAULT_LAYER_7)) { + } else if (bootmagic_scan_keycode(BOOTMAGIC_KEY_DEFAULT_LAYER_7)) {ypoint (#8532):quantum/bootmagic/bootmagic_full.c default_layer |= (1 << 7); } eeconfig_update_default_layer(default_layer); @@ -142,6 +142,4 @@ void bootmagic(void) { if (bootmagic_scan_keycode(BOOTMAGIC_KEY_EE_HANDS_LEFT)) { eeconfig_update_handedness(true); } else if (bootmagic_scan_keycode(BOOTMAGIC_KEY_EE_HANDS_RIGHT)) { - eeconfig_update_handedness(false); - } }