summaryrefslogtreecommitdiff
path: root/quantum/rgblight.h
diff options
context:
space:
mode:
authorJack Humbert <jack.humb@gmail.com>2017-09-15 21:43:58 -0400
committerJack Humbert <jack.humb@gmail.com>2017-09-15 21:43:58 -0400
commitdc7d0c7b7442b87600352e083e3da4a08cb2d069 (patch)
treeac6e6b0417e3c6550e6c8e07f615fabdc74b1ef1 /quantum/rgblight.h
parentafcf3a2878d5b5de0f9daba201ab44d779a8b2b1 (diff)
parentd5486265b8afcada68306c815b08c225fce287af (diff)
update to driver separation
Diffstat (limited to 'quantum/rgblight.h')
-rw-r--r--quantum/rgblight.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/quantum/rgblight.h b/quantum/rgblight.h
index 7acd5a2577..c1b3378b33 100644
--- a/quantum/rgblight.h
+++ b/quantum/rgblight.h
@@ -62,7 +62,10 @@
#include <stdint.h>
#include <stdbool.h>
#include "eeconfig.h"
+#ifndef RGBLIGHT_CUSTOM_DRIVER
#include "ws2812.h"
+#endif
+#include "rgblight_types.h"
extern LED_TYPE led[RGBLED_NUM];