mirror of
				https://github.com/mfulz/qmk_firmware.git
				synced 2025-10-30 21:02:32 +01:00 
			
		
		
		
	Fixed NO_SUSPEND_POWER_DOWN handling
This commit is contained in:
		
							parent
							
								
									5893f0fa1f
								
							
						
					
					
						commit
						cf3926a8e1
					
				| @ -113,11 +113,6 @@ __attribute__ ((weak)) void matrix_power_up(void) {} | |||||||
| __attribute__ ((weak)) void matrix_power_down(void) {} | __attribute__ ((weak)) void matrix_power_down(void) {} | ||||||
| bool suspend_wakeup_condition(void) | bool suspend_wakeup_condition(void) | ||||||
| { | { | ||||||
| #ifdef BACKLIGHT_ENABLE |  | ||||||
| #ifndef NO_SUSPEND_POWER_DOWN |  | ||||||
|     backlight_set(0); |  | ||||||
| #endif |  | ||||||
| #endif |  | ||||||
|     matrix_power_up(); |     matrix_power_up(); | ||||||
|     matrix_scan(); |     matrix_scan(); | ||||||
|     matrix_power_down(); |     matrix_power_down(); | ||||||
| @ -135,7 +130,7 @@ void suspend_wakeup_init(void) | |||||||
| #ifdef BACKLIGHT_ENABLE | #ifdef BACKLIGHT_ENABLE | ||||||
|     backlight_init(); |     backlight_init(); | ||||||
| #endif | #endif | ||||||
| led_set(host_keyboard_leds()); | 	led_set(host_keyboard_leds()); | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| #ifndef NO_SUSPEND_POWER_DOWN | #ifndef NO_SUSPEND_POWER_DOWN | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Wilba6582
						Wilba6582