fl16: Make sure build without RGB is possible
Signed-off-by: Daniel Schaefer <dhs@frame.work>
This commit is contained in:
parent
11a70a11ed
commit
5af87007aa
@ -3,6 +3,7 @@
|
|||||||
|
|
||||||
#include QMK_KEYBOARD_H
|
#include QMK_KEYBOARD_H
|
||||||
|
|
||||||
|
#if defined(RGB_MATRIX_ENABLE)
|
||||||
#define CS19_SW12 0x00
|
#define CS19_SW12 0x00
|
||||||
#define CS20_SW12 0x01
|
#define CS20_SW12 0x01
|
||||||
#define CS21_SW12 0x02
|
#define CS21_SW12 0x02
|
||||||
@ -412,3 +413,4 @@ led_config_t g_led_config = { {
|
|||||||
4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
|
4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
|
||||||
4
|
4
|
||||||
} };
|
} };
|
||||||
|
#endif
|
||||||
|
@ -3,6 +3,7 @@
|
|||||||
|
|
||||||
#include QMK_KEYBOARD_H
|
#include QMK_KEYBOARD_H
|
||||||
|
|
||||||
|
#if defined(RGB_MATRIX_ENABLE)
|
||||||
const is31_led g_is31_leds[RGB_MATRIX_LED_COUNT] = {
|
const is31_led g_is31_leds[RGB_MATRIX_LED_COUNT] = {
|
||||||
/* Refer to IS31 manual for these locations
|
/* Refer to IS31 manual for these locations
|
||||||
* driver
|
* driver
|
||||||
@ -79,6 +80,7 @@ led_config_t g_led_config = { {
|
|||||||
4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
|
4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
|
||||||
4, 4, 4, 4, 4, 4, 4, 4
|
4, 4, 4, 4, 4, 4, 4, 4
|
||||||
} };
|
} };
|
||||||
|
#endif
|
||||||
|
|
||||||
void keyboard_post_init_user(void) {
|
void keyboard_post_init_user(void) {
|
||||||
// Sync initial numlock state from the host
|
// Sync initial numlock state from the host
|
||||||
|
Loading…
Reference in New Issue
Block a user