diff options
author | XScorpion2 <rcalt2vt@gmail.com> | 2019-06-04 13:04:30 -0500 |
---|---|---|
committer | MechMerlin <30334081+mechmerlin@users.noreply.github.com> | 2019-06-04 11:04:30 -0700 |
commit | e7711b3b665c7df0a2a1d7272580cc01be28590d (patch) | |
tree | 7077e62abc3eb3fb3524092c1acabd164a8ae50c /keyboards | |
parent | 661a9154ae8178c39f244c687f6e298c11561d08 (diff) | |
download | qmk_firmware-e7711b3b665c7df0a2a1d7272580cc01be28590d.tar.gz qmk_firmware-e7711b3b665c7df0a2a1d7272580cc01be28590d.zip |
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
Diffstat (limited to 'keyboards')
-rw-r--r-- | keyboards/cannonkeys/bluepill/ws2812.h | 2 | ||||
-rw-r--r-- | keyboards/cannonkeys/stm32f072/ws2812.h | 3 | ||||
-rw-r--r-- | keyboards/handwired/promethium/rgbsps.c | 2 | ||||
-rw-r--r-- | keyboards/mxss/rgblight.h | 2 |
4 files changed, 4 insertions, 5 deletions
diff --git a/keyboards/cannonkeys/bluepill/ws2812.h b/keyboards/cannonkeys/bluepill/ws2812.h index 3b61ddcfa9..be37df7668 100644 --- a/keyboards/cannonkeys/bluepill/ws2812.h +++ b/keyboards/cannonkeys/bluepill/ws2812.h @@ -1,7 +1,7 @@ #pragma once #include "hal.h" -#include "rgblight_types.h" +#include "color.h" void set_leds_color_rgb(LED_TYPE color); diff --git a/keyboards/cannonkeys/stm32f072/ws2812.h b/keyboards/cannonkeys/stm32f072/ws2812.h index 3b61ddcfa9..9b545fcd53 100644 --- a/keyboards/cannonkeys/stm32f072/ws2812.h +++ b/keyboards/cannonkeys/stm32f072/ws2812.h @@ -1,8 +1,7 @@ #pragma once #include "hal.h" -#include "rgblight_types.h" - +#include "color.h" void set_leds_color_rgb(LED_TYPE color); void set_led_color_rgb(LED_TYPE color, int pos); diff --git a/keyboards/handwired/promethium/rgbsps.c b/keyboards/handwired/promethium/rgbsps.c index 84fac1ae1f..f439876911 100644 --- a/keyboards/handwired/promethium/rgbsps.c +++ b/keyboards/handwired/promethium/rgbsps.c @@ -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; diff --git a/keyboards/mxss/rgblight.h b/keyboards/mxss/rgblight.h index 5205974f9f..0013a34386 100644 --- a/keyboards/mxss/rgblight.h +++ b/keyboards/mxss/rgblight.h @@ -73,7 +73,7 @@ #ifndef RGBLIGHT_CUSTOM_DRIVER #include "ws2812.h" #endif -#include "rgblight_types.h" +#include "color.h" #include "rgblight_list.h" extern LED_TYPE led[RGBLED_NUM]; |