summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoryiancar <yiangosyiangou@cytanet.com.cy>2022-08-16 18:22:47 +0100
committerGitHub <noreply@github.com>2022-08-16 18:22:47 +0100
commitc834608a74cad6557d26ba7bb1b53b1dd92cb0b6 (patch)
tree745c4d4b1b5b19dd678f2b769e3442751f9a3804
parent2f4ad4056194476a694b871961d8fc5b2fadcbbb (diff)
Fix WS2812 order for aurora65 and loki65 (#18074)
-rw-r--r--keyboards/aurora65/config.h1
-rw-r--r--keyboards/loki65/config.h3
2 files changed, 3 insertions, 1 deletions
diff --git a/keyboards/aurora65/config.h b/keyboards/aurora65/config.h
index 3c3000efa8..d3679d1365 100644
--- a/keyboards/aurora65/config.h
+++ b/keyboards/aurora65/config.h
@@ -39,6 +39,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define WS2812_PWM_COMPLEMENTARY_OUTPUT
#define WS2812_DMA_STREAM STM32_DMA1_STREAM5
#define WS2812_DMA_CHANNEL 5
+#define WS2812_BYTE_ORDER WS2812_BYTE_ORDER_RGB
#define RGB_DI_PIN B15
#define RGBLED_NUM 36
diff --git a/keyboards/loki65/config.h b/keyboards/loki65/config.h
index 78fc0a8d3a..aea771f623 100644
--- a/keyboards/loki65/config.h
+++ b/keyboards/loki65/config.h
@@ -44,7 +44,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define WS2812_PWM_CHANNEL 2
#define WS2812_PWM_PAL_MODE 2
#define WS2812_DMA_STREAM STM32_DMA1_STREAM5
-#define WS2812_DMA_CHANNEL 5
+#define WS2812_DMA_CHANNEL 5
+#define WS2812_BYTE_ORDER WS2812_BYTE_ORDER_RGB
#define RGB_DI_PIN A9
#define RGBLED_NUM 37