fix toggle stuck on
This commit is contained in:
		
							parent
							
								
									cad22768ce
								
							
						
					
					
						commit
						684652d0fc
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -466,7 +466,7 @@ void update_lcd_ac()
 | 
			
		|||
    //uint8_t mode_state = user_acmode;
 | 
			
		||||
    // mode.Set_background_image_pic(mode_state==1?22:24);
 | 
			
		||||
    elcd_send_stop_bit();
 | 
			
		||||
    if (user_acmode == 1)
 | 
			
		||||
    if (ac_get_mode() == 1)
 | 
			
		||||
    {
 | 
			
		||||
        elcd_send_stop_bit();
 | 
			
		||||
        elcd.print("air_toggle.pic=2");
 | 
			
		||||
| 
						 | 
				
			
			@ -478,7 +478,7 @@ void update_lcd_ac()
 | 
			
		|||
        elcd.print("mode.pic2=22");
 | 
			
		||||
        elcd_send_stop_bit();
 | 
			
		||||
    }
 | 
			
		||||
    else if (user_acmode == 2)
 | 
			
		||||
    else if (ac_get_mode() == 2)
 | 
			
		||||
    {
 | 
			
		||||
        elcd_send_stop_bit();
 | 
			
		||||
        elcd.print("air_toggle.pic=2");
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue