mirror of
				https://github.com/mfulz/qmk_firmware.git
				synced 2025-10-31 05:12:33 +01:00 
			
		
		
		
	fix compiling for backlight without led matrix
This commit is contained in:
		
							parent
							
								
									c080a3e7c4
								
							
						
					
					
						commit
						84879f28a3
					
				| @ -1206,7 +1206,7 @@ static inline void set_pwm(uint16_t val) { | |||||||
| 	OCRxx = val; | 	OCRxx = val; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| #ifndef BACKLIGHT_CUSTOM_DRIVER || LED_MATRIX_ENABLE | #ifndef BACKLIGHT_CUSTOM_DRIVER | ||||||
| __attribute__ ((weak)) | __attribute__ ((weak)) | ||||||
| void backlight_set(uint8_t level) { | void backlight_set(uint8_t level) { | ||||||
|   if (level > BACKLIGHT_LEVELS) |   if (level > BACKLIGHT_LEVELS) | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 skullY
						skullY