aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormechlovin <57231893+mechlovin@users.noreply.github.com>2020-06-02 07:31:14 +0700
committerGitHub <noreply@github.com>2020-06-01 17:31:14 -0700
commit306d02aa9328630ca97a8b8863286986dba85603 (patch)
tree72f32054fec9eb03c96dc2557fde830748c01cd1
parentb8ddfd34ec2fbefefe54346056f56706a35a7a6d (diff)
downloadqmk_firmware-306d02aa9328630ca97a8b8863286986dba85603.tar.gz
qmk_firmware-306d02aa9328630ca97a8b8863286986dba85603.zip
Adelais: Fix indicator LED pinout (#9241)
* Fix indicator LED pinout Fix indicator LED pinout, active some function
-rw-r--r--keyboards/mechlovin/adelais/adelais.c2
-rw-r--r--keyboards/mechlovin/adelais/rules.mk6
2 files changed, 4 insertions, 4 deletions
diff --git a/keyboards/mechlovin/adelais/adelais.c b/keyboards/mechlovin/adelais/adelais.c
index c4676007e..87f0caf09 100644
--- a/keyboards/mechlovin/adelais/adelais.c
+++ b/keyboards/mechlovin/adelais/adelais.c
@@ -62,7 +62,7 @@ bool led_update_kb(led_t led_state) {
62 if(led_update_user(led_state)) { 62 if(led_update_user(led_state)) {
63 writePin(B2, led_state.caps_lock); 63 writePin(B2, led_state.caps_lock);
64 writePin(B9, led_state.scroll_lock); 64 writePin(B9, led_state.scroll_lock);
65 writePin(C12, led_state.num_lock); 65 writePin(C15, led_state.num_lock);
66 } 66 }
67 67
68 return true; 68 return true;
diff --git a/keyboards/mechlovin/adelais/rules.mk b/keyboards/mechlovin/adelais/rules.mk
index 4681ac316..91f87e5f3 100644
--- a/keyboards/mechlovin/adelais/rules.mk
+++ b/keyboards/mechlovin/adelais/rules.mk
@@ -8,12 +8,12 @@ MCU = STM32F303
8BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration 8BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration
9MOUSEKEY_ENABLE = yes # Mouse keys 9MOUSEKEY_ENABLE = yes # Mouse keys
10EXTRAKEY_ENABLE = yes # Audio control and System control 10EXTRAKEY_ENABLE = yes # Audio control and System control
11CONSOLE_ENABLE = no # Console for debug 11CONSOLE_ENABLE = yes # Console for debug
12COMMAND_ENABLE = no # Commands for debug and configuration 12COMMAND_ENABLE = yes # Commands for debug and configuration
13# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE 13# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
14SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend 14SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
15# if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work 15# if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
16NKRO_ENABLE = no # USB Nkey Rollover 16NKRO_ENABLE = yes # USB Nkey Rollover
17MIDI_ENABLE = no # MIDI support 17MIDI_ENABLE = no # MIDI support
18BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID 18BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
19AUDIO_ENABLE = no # Audio output on port C6 19AUDIO_ENABLE = no # Audio output on port C6