Selaa lähdekoodia

Adelais: Fix indicator LED pinout (#9241)

* Fix indicator LED pinout

Fix indicator LED pinout, active some function
mechlovin 5 vuotta sitten
vanhempi
commit
306d02aa93
2 muutettua tiedostoa jossa 4 lisäystä ja 4 poistoa
  1. 1 1
      keyboards/mechlovin/adelais/adelais.c
  2. 3 3
      keyboards/mechlovin/adelais/rules.mk

+ 1 - 1
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;

+ 3 - 3
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