Fix parameter increase/decrease directions
This commit is contained in:
		@ -78,19 +78,19 @@ void VehicleConfigViewBase::handleKeyEvent(uint8_t key)
 | 
			
		||||
    
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    if(106 == key)
 | 
			
		||||
    if(107 == key)
 | 
			
		||||
    {
 | 
			
		||||
        //DecreaseParam
 | 
			
		||||
        //When hardware button 106 clicked call virtual function
 | 
			
		||||
        //When hardware button 107 clicked call virtual function
 | 
			
		||||
        //Call decParam
 | 
			
		||||
        decParam();
 | 
			
		||||
    
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    if(107 == key)
 | 
			
		||||
    if(106 == key)
 | 
			
		||||
    {
 | 
			
		||||
        //IncreaseParam
 | 
			
		||||
        //When hardware button 107 clicked call virtual function
 | 
			
		||||
        //When hardware button 106 clicked call virtual function
 | 
			
		||||
        //Call incParam
 | 
			
		||||
        incParam();
 | 
			
		||||
    
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user