fw: Invert polarity of SBCMON pin

This commit is contained in:
Markus Koch 2020-07-31 19:18:26 +02:00
parent 6ae88b0101
commit 1b1d3a14d6

View File

@ -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!