From 9c0e9a9326c48dac9cec8c104d7fe92c31cdf2bd Mon Sep 17 00:00:00 2001 From: Dave Date: Mon, 29 Nov 2021 23:30:52 -0600 Subject: [PATCH] Fix Apple CAPS power LED to stay on. --- firmware/asdf/src/Keymaps/asdf_keymap_apple2_caps.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/firmware/asdf/src/Keymaps/asdf_keymap_apple2_caps.c b/firmware/asdf/src/Keymaps/asdf_keymap_apple2_caps.c index 516497e..51d7ab9 100644 --- a/firmware/asdf/src/Keymaps/asdf_keymap_apple2_caps.c +++ b/firmware/asdf/src/Keymaps/asdf_keymap_apple2_caps.c @@ -57,11 +57,9 @@ void setup_apple2_caps_keymap(void) asdf_virtual_init(); - // Attach the physical POWER LED as the CAPS LED. Assign no triggered - // function, and initialize to initial state of the CAPS logic. The CAPS LED - // will be controlled by the state of the CAPSLOCK logic. + // Turn the POWER LED on and don't assign to any function - asdf_virtual_assign(VCAPS_LED, APPLE_POWER_LED, V_NOFUNC, APPLE_POWER_LED_INIT_VALUE); + asdf_virtual_assign(APPLE_VIRTUAL_POWER_LED, APPLE_POWER_LED, V_NOFUNC, APPLE_POWER_LED_INIT_VALUE); // Assign CAPS LED to off (disabled) asdf_virtual_assign(APPLE_VIRTUAL_DISABLED_LED, APPLE_DISABLED_LED, V_NOFUNC, APPLE_DISABLED_INIT_VALUE);