1
0
Fork 0

revert accidental rgb_matrix.h changes

This commit is contained in:
skullY 2019-01-26 12:39:55 -08:00 committed by skullydazed
parent fd698c43d7
commit 159191a874

View file

@ -50,17 +50,25 @@ typedef struct rgb_led {
extern const rgb_led g_rgb_leds[DRIVER_LED_TOTAL]; extern const rgb_led g_rgb_leds[DRIVER_LED_TOTAL];
typedef struct
{
HSV color;
uint8_t index;
} rgb_indicator;
typedef union { typedef union {
uint32_t raw; uint32_t raw;
struct { struct {
bool enable :1; bool enable :1;
uint8_t mode :6; uint8_t mode :6;
uint16_t hue :9;
uint8_t sat :8;
uint8_t val :8; uint8_t val :8;
uint8_t speed :8;//EECONFIG needs to be increased to support this uint8_t speed :8;//EECONFIG needs to be increased to support this
}; };
} led_config_t; } rgb_config_t;
enum _matrix_effects { enum rgb_matrix_effects {
RGB_MATRIX_SOLID_COLOR = 1, RGB_MATRIX_SOLID_COLOR = 1,
#ifndef DISABLE_RGB_MATRIX_ALPHAS_MODS #ifndef DISABLE_RGB_MATRIX_ALPHAS_MODS
RGB_MATRIX_ALPHAS_MODS, RGB_MATRIX_ALPHAS_MODS,