diff options
author | Eric Tang <e_l_tang@outlook.com> | 2016-06-12 15:01:55 -0700 |
---|---|---|
committer | Jack Humbert <jack.humb@gmail.com> | 2016-06-12 18:01:55 -0400 |
commit | 6955719075a9a07524814e4183f3f90f83db1c6a (patch) | |
tree | 4992f68783514c307c327a8fe88fc41d29550a56 /tmk_core/common | |
parent | 92759be3226c83087959015be097b66d8c7e2f21 (diff) | |
download | qmk_firmware-6955719075a9a07524814e4183f3f90f83db1c6a.tar.gz qmk_firmware-6955719075a9a07524814e4183f3f90f83db1c6a.zip |
Move LED strip initialization (#397)
Diffstat (limited to 'tmk_core/common')
-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 bd543c45e1..34e1ceeca5 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/>. #ifdef ADB_MOUSE_ENABLE # include "adb.h" #endif +#ifdef RGBLIGHT_ENABLE +# include "rgblight.h" +#endif #ifdef MATRIX_HAS_GHOST static bool is_row_ghosting(uint8_t row){ @@ -89,6 +92,9 @@ void keyboard_init(void) { #ifdef BACKLIGHT_ENABLE backlight_init(); #endif +#ifdef RGBLIGHT_ENABLE + rgblight_init(); +#endif #if defined(NKRO_ENABLE) && defined(FORCE_NKRO) keyboard_nkro = true; #endif |