Fix cancel interrupt handler

This commit is contained in:
Laura Hausmann 2023-02-10 00:26:44 +01:00
parent 14a41312d6
commit e33448fed5
Signed by: zotan
GPG key ID: D044E84C5BE01605

View file

@ -84,7 +84,7 @@ void IRAM_ATTR BalanceInterruptHandler() {
}
void IRAM_ATTR CancelInterruptHandler() {
if (digitalRead(PIN_INTERRUPT_LINK))
if (digitalRead(PIN_INTERRUPT_CANCEL))
return;
state = STATE_IDLE;
}