diff options
| author | mechlovin <57231893+mechlovin@users.noreply.github.com> | 2020-06-02 07:31:14 +0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-06-01 17:31:14 -0700 |
| commit | 306d02aa9328630ca97a8b8863286986dba85603 (patch) | |
| tree | 72f32054fec9eb03c96dc2557fde830748c01cd1 | |
| parent | b8ddfd34ec2fbefefe54346056f56706a35a7a6d (diff) | |
| download | qmk_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.c | 2 | ||||
| -rw-r--r-- | keyboards/mechlovin/adelais/rules.mk | 6 |
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 | |||
| 8 | BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration | 8 | BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration |
| 9 | MOUSEKEY_ENABLE = yes # Mouse keys | 9 | MOUSEKEY_ENABLE = yes # Mouse keys |
| 10 | EXTRAKEY_ENABLE = yes # Audio control and System control | 10 | EXTRAKEY_ENABLE = yes # Audio control and System control |
| 11 | CONSOLE_ENABLE = no # Console for debug | 11 | CONSOLE_ENABLE = yes # Console for debug |
| 12 | COMMAND_ENABLE = no # Commands for debug and configuration | 12 | COMMAND_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 |
| 14 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | 14 | SLEEP_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 |
| 16 | NKRO_ENABLE = no # USB Nkey Rollover | 16 | NKRO_ENABLE = yes # USB Nkey Rollover |
| 17 | MIDI_ENABLE = no # MIDI support | 17 | MIDI_ENABLE = no # MIDI support |
| 18 | BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID | 18 | BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID |
| 19 | AUDIO_ENABLE = no # Audio output on port C6 | 19 | AUDIO_ENABLE = no # Audio output on port C6 |
