aboutsummaryrefslogtreecommitdiff
path: root/keyboards/wilba_tech/wt_mono_backlight.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/wilba_tech/wt_mono_backlight.c')
-rw-r--r--keyboards/wilba_tech/wt_mono_backlight.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/keyboards/wilba_tech/wt_mono_backlight.c b/keyboards/wilba_tech/wt_mono_backlight.c
index daf738da2..fbc3102e8 100644
--- a/keyboards/wilba_tech/wt_mono_backlight.c
+++ b/keyboards/wilba_tech/wt_mono_backlight.c
@@ -26,9 +26,13 @@
26#include "quantum/color.h" 26#include "quantum/color.h"
27#include "tmk_core/common/eeprom.h" 27#include "tmk_core/common/eeprom.h"
28 28
29#include "via.h" // uses only the EEPROM address 29#include "via.h" // uses EEPROM address, lighting value IDs
30#define MONO_BACKLIGHT_CONFIG_EEPROM_ADDR (VIA_EEPROM_CUSTOM_CONFIG_ADDR) 30#define MONO_BACKLIGHT_CONFIG_EEPROM_ADDR (VIA_EEPROM_CUSTOM_CONFIG_ADDR)
31 31
32#if VIA_EEPROM_CUSTOM_CONFIG_SIZE == 0
33#error VIA_EEPROM_CUSTOM_CONFIG_SIZE was not defined to store backlight_config struct
34#endif
35
32#include "drivers/issi/is31fl3736.h" 36#include "drivers/issi/is31fl3736.h"
33 37
34#define ISSI_ADDR_DEFAULT 0x50 38#define ISSI_ADDR_DEFAULT 0x50