fw: Invert polarity of SBCMON pin
This commit is contained in:
		
							parent
							
								
									6ae88b0101
								
							
						
					
					
						commit
						1b1d3a14d6
					
				@ -102,7 +102,7 @@ inline void input_clear_events()
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
inline uint8_t get_sbc_state()
 | 
					inline uint8_t get_sbc_state()
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
	return !(PORT_SBCMON(PIN) & PIN_SBCMON);
 | 
						return (PORT_SBCMON(PIN) & PIN_SBCMON);
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// Need to call timer_proc() before calling this function!
 | 
					// Need to call timer_proc() before calling this function!
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user