diff options
Diffstat (limited to 'tmk_core/common/keyboard.c')
| -rw-r--r-- | tmk_core/common/keyboard.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tmk_core/common/keyboard.c b/tmk_core/common/keyboard.c index bd543c45e..34e1ceeca 100644 --- a/tmk_core/common/keyboard.c +++ b/tmk_core/common/keyboard.c | |||
| @@ -46,6 +46,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 46 | #ifdef ADB_MOUSE_ENABLE | 46 | #ifdef ADB_MOUSE_ENABLE |
| 47 | # include "adb.h" | 47 | # include "adb.h" |
| 48 | #endif | 48 | #endif |
| 49 | #ifdef RGBLIGHT_ENABLE | ||
| 50 | # include "rgblight.h" | ||
| 51 | #endif | ||
| 49 | 52 | ||
| 50 | #ifdef MATRIX_HAS_GHOST | 53 | #ifdef MATRIX_HAS_GHOST |
| 51 | static bool is_row_ghosting(uint8_t row){ | 54 | static bool is_row_ghosting(uint8_t row){ |
| @@ -89,6 +92,9 @@ void keyboard_init(void) { | |||
| 89 | #ifdef BACKLIGHT_ENABLE | 92 | #ifdef BACKLIGHT_ENABLE |
| 90 | backlight_init(); | 93 | backlight_init(); |
| 91 | #endif | 94 | #endif |
| 95 | #ifdef RGBLIGHT_ENABLE | ||
| 96 | rgblight_init(); | ||
| 97 | #endif | ||
| 92 | #if defined(NKRO_ENABLE) && defined(FORCE_NKRO) | 98 | #if defined(NKRO_ENABLE) && defined(FORCE_NKRO) |
| 93 | keyboard_nkro = true; | 99 | keyboard_nkro = true; |
| 94 | #endif | 100 | #endif |
