Move LED strip initialization (#397)
This commit is contained in:
parent
92759be322
commit
6955719075
6 changed files with 18 additions and 33 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue