diff --git a/common/keyboard.c b/common/keyboard.c index 29155cfe..6b3f6427 100644 --- a/common/keyboard.c +++ b/common/keyboard.c @@ -31,6 +31,7 @@ along with this program. If not, see . #include "bootmagic.h" #include "eeconfig.h" #include "backlight.h" +#include "breathing_led.h" #include "keymap_ex.h" #ifdef MOUSEKEY_ENABLE # include "mousekey.h" diff --git a/keyboard/gh60/backlight.c b/keyboard/gh60/backlight.c index 4c96d041..3a8f6c0e 100644 --- a/keyboard/gh60/backlight.c +++ b/keyboard/gh60/backlight.c @@ -21,6 +21,12 @@ along with this program. If not, see . #include "backlight.h" #include "breathing_led.h" +#ifdef BACKLIGHT_ENABLE + +void backlight_enable(void); +void backlight_disable(void); +inline void backlight_set_raw(uint8_t raw); + #ifdef GH60_REV_CHN #else #define SOFTPWM_TIMER_TOP F_CPU/(256*64) @@ -149,3 +155,5 @@ ISR(TIMER1_COMPA_vect) } } #endif + +#endif