瀏覽代碼

Fix WS2812 order for aurora65 and loki65 (#18074)

yiancar 2 年之前
父節點
當前提交
c834608a74
共有 2 個文件被更改,包括 3 次插入1 次删除
  1. 1 0
      keyboards/aurora65/config.h
  2. 2 1
      keyboards/loki65/config.h

+ 1 - 0
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

+ 2 - 1
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