summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorJack Humbert <jack.humb@gmail.com>2017-09-15 21:44:39 -0400
committerJack Humbert <jack.humb@gmail.com>2017-09-15 21:44:39 -0400
commit5ad5c230d6cf9f90a8337ec54dee8b14e332d3c6 (patch)
treeac6e6b0417e3c6550e6c8e07f615fabdc74b1ef1 /drivers
parentafcf3a2878d5b5de0f9daba201ab44d779a8b2b1 (diff)
parentdc7d0c7b7442b87600352e083e3da4a08cb2d069 (diff)
downloadqmk_firmware-5ad5c230d6cf9f90a8337ec54dee8b14e332d3c6.tar.gz
qmk_firmware-5ad5c230d6cf9f90a8337ec54dee8b14e332d3c6.zip
Merge branch 'luizribeiro-ps2avrGB'
Diffstat (limited to 'drivers')
-rw-r--r--drivers/avr/ws2812.h18
1 files changed, 1 insertions, 17 deletions
diff --git a/drivers/avr/ws2812.h b/drivers/avr/ws2812.h
index 60924a0fb6..f7e0c31440 100644
--- a/drivers/avr/ws2812.h
+++ b/drivers/avr/ws2812.h
@@ -28,23 +28,7 @@
//#include "ws2812_config.h"
//#include "i2cmaster.h"
-#ifdef RGBW
- #define LED_TYPE struct cRGBW
-#else
- #define LED_TYPE struct cRGB
-#endif
-
-
-/*
- * Structure of the LED array
- *
- * cRGB: RGB for WS2812S/B/C/D, SK6812, SK6812Mini, SK6812WWA, APA104, APA106
- * cRGBW: RGBW for SK6812RGBW
- */
-
-struct cRGB { uint8_t g; uint8_t r; uint8_t b; };
-struct cRGBW { uint8_t g; uint8_t r; uint8_t b; uint8_t w;};
-
+#include "rgblight_types.h"
/* User Interface