Fix RGBW for WS2812 SPI driver (#24367)
This commit is contained in:
		
							parent
							
								
									e83a36dfbf
								
							
						
					
					
						commit
						4a6ba1e808
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -133,7 +133,7 @@ static void set_led_color_rgb(rgb_led_t color, int pos) {
 | 
			
		|||
#endif
 | 
			
		||||
#ifdef WS2812_RGBW
 | 
			
		||||
    for (int j = 0; j < 4; j++)
 | 
			
		||||
        tx_start[BYTES_FOR_LED * pos + BYTES_FOR_LED_BYTE * 4 + j] = get_protocol_eq(color.w, j);
 | 
			
		||||
        tx_start[BYTES_FOR_LED * pos + BYTES_FOR_LED_BYTE * 3 + j] = get_protocol_eq(color.w, j);
 | 
			
		||||
#endif
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue