diff --git a/keyboard/lr94/backlight.c b/keyboard/lr94/backlight.c index e61b5b4b..beaabd88 100644 --- a/keyboard/lr94/backlight.c +++ b/keyboard/lr94/backlight.c @@ -25,6 +25,8 @@ static const uint8_t backlight_table[] PROGMEM = { 0, 16, 128, 255 }; +inline void backlight_set_raw(uint8_t raw); + /* Backlight pin configuration * PWM: PC6(OC3A) */ diff --git a/keyboard/lr94/config.h b/keyboard/lr94/config.h index bc0759a1..da5a8f3c 100644 --- a/keyboard/lr94/config.h +++ b/keyboard/lr94/config.h @@ -43,10 +43,12 @@ along with this program. If not, see . /* number of backlight levels */ #ifdef BREATHING_LED_ENABLE +#define BREATHING_LED_TIMER1 #define BACKLIGHT_LEVELS 6 #else #define BACKLIGHT_LEVELS 3 #endif +#define BACKLIGHT_CUSTOM /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE