mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-12-25 18:48:05 +06:00
CA66 Backlighting FIx (#3089)
* Enable backlighting using pin F0 and changing it in the rules.mk file as well * Change KB_H to CA66_H
This commit is contained in:
parent
258954dc3e
commit
b2398ecbe7
@ -1,5 +1,5 @@
|
||||
#ifndef KB_H
|
||||
#define KB_H
|
||||
#ifndef CA66_H
|
||||
#define CA66_H
|
||||
|
||||
#include "quantum.h"
|
||||
|
||||
|
@ -25,9 +25,8 @@
|
||||
|
||||
/* number of backlight levels */
|
||||
|
||||
#ifdef BACKLIGHT_PIN
|
||||
#define BACKLIGHT_PIN F0
|
||||
#define BACKLIGHT_LEVELS 3
|
||||
#endif
|
||||
|
||||
/* Set 0 if debouncing isn't needed */
|
||||
#define DEBOUNCING_DELAY 5
|
||||
|
@ -51,6 +51,6 @@ CONSOLE_ENABLE ?= no # Console for debug(+400)
|
||||
COMMAND_ENABLE ?= no # Commands for debug and configuration
|
||||
SLEEP_LED_ENABLE ?= no # Breathing sleep LED during USB suspend
|
||||
NKRO_ENABLE ?= yes # USB Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
|
||||
BACKLIGHT_ENABLE ?= no # Enable keyboard backlight functionality
|
||||
BACKLIGHT_ENABLE ?= yes # Enable keyboard backlight functionality
|
||||
AUDIO_ENABLE ?= no
|
||||
RGBLIGHT_ENABLE ?= yes
|
||||
|
Loading…
Reference in New Issue
Block a user