mirror of
				https://github.com/mfulz/qmk_firmware.git
				synced 2025-10-31 05:12:33 +01:00 
			
		
		
		
	split_common: fix backlight update for serial boards
This commit is contained in:
		
							parent
							
								
									96c9ebc2e4
								
							
						
					
					
						commit
						7d2d0c6795
					
				| @ -106,14 +106,14 @@ void keyboard_slave_loop(void) { | |||||||
|      |      | ||||||
|     // Read Backlight Info
 |     // Read Backlight Info
 | ||||||
|     #ifdef BACKLIGHT_ENABLE |     #ifdef BACKLIGHT_ENABLE | ||||||
|         if (BACKLIT_DIRTY) { |  | ||||||
|         #ifdef USE_I2C |         #ifdef USE_I2C | ||||||
|  |             if (BACKLIT_DIRTY) { | ||||||
|                 backlight_set(i2c_slave_buffer[I2C_BACKLIT_START]); |                 backlight_set(i2c_slave_buffer[I2C_BACKLIT_START]); | ||||||
|  |                 BACKLIT_DIRTY = false; | ||||||
|  |             } | ||||||
|         #else // USE_SERIAL
 |         #else // USE_SERIAL
 | ||||||
|             backlight_set(serial_master_buffer[SERIAL_BACKLIT_START]); |             backlight_set(serial_master_buffer[SERIAL_BACKLIT_START]); | ||||||
|         #endif |         #endif | ||||||
|             BACKLIT_DIRTY = false; |  | ||||||
|         } |  | ||||||
|     #endif |     #endif | ||||||
|     // Read RGB Info
 |     // Read RGB Info
 | ||||||
|     #ifdef RGBLIGHT_ENABLE |     #ifdef RGBLIGHT_ENABLE | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Chiang Fong Lee
						Chiang Fong Lee