Fix cancel interrupt handler
This commit is contained in:
parent
14a41312d6
commit
e33448fed5
|
@ -84,7 +84,7 @@ void IRAM_ATTR BalanceInterruptHandler() {
|
||||||
}
|
}
|
||||||
|
|
||||||
void IRAM_ATTR CancelInterruptHandler() {
|
void IRAM_ATTR CancelInterruptHandler() {
|
||||||
if (digitalRead(PIN_INTERRUPT_LINK))
|
if (digitalRead(PIN_INTERRUPT_CANCEL))
|
||||||
return;
|
return;
|
||||||
state = STATE_IDLE;
|
state = STATE_IDLE;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue