Fix call parameter of suspend_power_down()
This commit is contained in:
		
							parent
							
								
									e872dd2149
								
							
						
					
					
						commit
						abf482de8e
					
				@ -104,7 +104,7 @@ int main(void)
 | 
			
		||||
        dprintf("Starting main loop");
 | 
			
		||||
        while (1) {
 | 
			
		||||
            while (suspend) {
 | 
			
		||||
                suspend_power_down(WDTO_120MS);
 | 
			
		||||
                suspend_power_down();
 | 
			
		||||
                if (remote_wakeup && suspend_wakeup_condition()) {
 | 
			
		||||
                    usb_remote_wakeup();
 | 
			
		||||
                }
 | 
			
		||||
 | 
			
		||||
@ -61,7 +61,7 @@ int main(void)
 | 
			
		||||
#endif
 | 
			
		||||
    while (1) {
 | 
			
		||||
        while (suspend) {
 | 
			
		||||
            suspend_power_down(WDTO_120MS);
 | 
			
		||||
            suspend_power_down();
 | 
			
		||||
            if (remote_wakeup && suspend_wakeup_condition()) {
 | 
			
		||||
                usb_remote_wakeup();
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user