summaryrefslogtreecommitdiff
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)
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 c4676007ef..87f0caf091 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) {
if(led_update_user(led_state)) {
writePin(B2, led_state.caps_lock);
writePin(B9, led_state.scroll_lock);
- writePin(C12, led_state.num_lock);
+ writePin(C15, led_state.num_lock);
}
return true;
diff --git a/keyboards/mechlovin/adelais/rules.mk b/keyboards/mechlovin/adelais/rules.mk
index 4681ac3163..91f87e5f39 100644
--- a/keyboards/mechlovin/adelais/rules.mk
+++ b/keyboards/mechlovin/adelais/rules.mk
@@ -8,12 +8,12 @@ MCU = STM32F303
BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration
MOUSEKEY_ENABLE = yes # Mouse keys
EXTRAKEY_ENABLE = yes # Audio control and System control
-CONSOLE_ENABLE = no # Console for debug
-COMMAND_ENABLE = no # Commands for debug and configuration
+CONSOLE_ENABLE = yes # Console for debug
+COMMAND_ENABLE = yes # Commands for debug and configuration
# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
# if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
-NKRO_ENABLE = no # USB Nkey Rollover
+NKRO_ENABLE = yes # USB Nkey Rollover
MIDI_ENABLE = no # MIDI support
BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
AUDIO_ENABLE = no # Audio output on port C6