Эх сурвалжийг харах

Fix WS2812 order for aurora65 and loki65 (#18074)

yiancar 2 жил өмнө
parent
commit
c834608a74

+ 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