summaryrefslogtreecommitdiff
path: root/keyboards/cannonkeys
diff options
context:
space:
mode:
authorXScorpion2 <rcalt2vt@gmail.com>2019-06-04 13:04:30 -0500
committerMechMerlin <30334081+mechmerlin@users.noreply.github.com>2019-06-04 11:04:30 -0700
commite7711b3b665c7df0a2a1d7272580cc01be28590d (patch)
tree7077e62abc3eb3fb3524092c1acabd164a8ae50c /keyboards/cannonkeys
parent661a9154ae8178c39f244c687f6e298c11561d08 (diff)
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/cannonkeys')
-rw-r--r--keyboards/cannonkeys/bluepill/ws2812.h2
-rw-r--r--keyboards/cannonkeys/stm32f072/ws2812.h3
2 files changed, 2 insertions, 3 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);