qmk

Unnamed repository; edit this file 'description' to name the repository.
git clone git://git.z3bra.org/qmk.git
Log | Files | Refs | Submodules | LICENSE

commit 159191a8747891920aea7de2324507daa8a661fb
parent fd698c43d78ebbc42c1eb2bec74078b791616ad1
Author: skullY <skullydazed@gmail.com>
Date:   Sat, 26 Jan 2019 12:39:55 -0800

revert accidental rgb_matrix.h changes

Diffstat:
quantum/rgb_matrix.h | 12++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)

diff --git a/quantum/rgb_matrix.h b/quantum/rgb_matrix.h @@ -50,17 +50,25 @@ typedef struct rgb_led { extern const rgb_led g_rgb_leds[DRIVER_LED_TOTAL]; +typedef struct +{ + HSV color; + uint8_t index; +} rgb_indicator; + typedef union { uint32_t raw; struct { bool enable :1; uint8_t mode :6; + uint16_t hue :9; + uint8_t sat :8; uint8_t val :8; 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, #ifndef DISABLE_RGB_MATRIX_ALPHAS_MODS RGB_MATRIX_ALPHAS_MODS,