bugfix in read_buttons
This commit is contained in:
		
							parent
							
								
									969fefd0aa
								
							
						
					
					
						commit
						bb98f165ca
					
				@ -194,6 +194,7 @@ int Gpio_read_buttons(void)
 | 
			
		||||
    rc |= STATE_BUTTON3;
 | 
			
		||||
  if (gpio_input(GLINE_BUTTON4) == 0)
 | 
			
		||||
    rc |= STATE_BUTTON4;
 | 
			
		||||
  return rc;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
int Gpio_poll_buttons(void)
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user