Moving rgb typedefs into a single location (#5978)

Because someone named the define poorly

Using full relative path as handwired/promethium has a color.h file
This commit is contained in:
XScorpion2 2019-06-04 13:04:30 -05:00 committed by MechMerlin
parent 661a9154ae
commit e7711b3b66
9 changed files with 28 additions and 58 deletions

View file

@ -1,7 +1,7 @@
#include "ws2812.h"
#include "rgbsps.h"
struct cRGB led[RGBSPS_NUM];
cRGB led[RGBSPS_NUM];
void rgbsps_set(uint8_t index, uint8_t r, uint8_t g, uint8_t b) {
led[index].r = r;