diff options
author | Daniel Garcia <danielgarcia@gmail.com> | 2017-08-16 23:50:59 +0300 |
---|---|---|
committer | Daniel Garcia <danielgarcia@gmail.com> | 2017-08-16 23:50:59 +0300 |
commit | c3572525cb5704f4437f87b69b390b04ca2f0bb9 (patch) | |
tree | 5acb0cafef359cea912bd41c753249eddb5883de | |
parent | 7a064b9f16c834c14ef2d7b9c1454fb7d6df632d (diff) |
Fix #450 - guard the OctoWS2811 WS2813 timings/instance against an older version of OctoWS2811 that doesn't define the chip.
-rw-r--r-- | FastLED.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -356,7 +356,9 @@ public: switch(CHIPSET) { case OCTOWS2811: { static COctoWS2811Controller<RGB_ORDER,WS2811_800kHz> controller; return addLeds(&controller, data, nLedsOrOffset, nLedsIfOffset); } case OCTOWS2811_400: { static COctoWS2811Controller<RGB_ORDER,WS2811_400kHz> controller; return addLeds(&controller, data, nLedsOrOffset, nLedsIfOffset); } +#ifdef WS2813_800kHz case OCTOWS2813: { static COctoWS2811Controller<RGB_ORDER,WS2813_800kHz> controller; return addLeds(&controller, data, nLedsOrOffset, nLedsIfOffset); } +#endif } } |