mirror of
https://github.com/dalathegreat/Battery-Emulator.git
synced 2025-10-03 09:49:32 +02:00
Fix contactor test timer start variable assignment
This commit is contained in:
parent
b8059de996
commit
91273c7763
1 changed files with 1 additions and 1 deletions
|
@ -249,7 +249,7 @@ void KostalInverterProtocol::receive() // Runs as fast as possible to handle th
|
||||||
datalayer.system.status.inverter_allows_contactor_closing = false;
|
datalayer.system.status.inverter_allows_contactor_closing = false;
|
||||||
dbg_message("inverter_allows_contactor_closing -> false (Contactor test start)");
|
dbg_message("inverter_allows_contactor_closing -> false (Contactor test start)");
|
||||||
send_kostal(ACK_FRAME, 8); // ACK
|
send_kostal(ACK_FRAME, 8); // ACK
|
||||||
contactortestTimerStart = millis();
|
contactortestTimerStart = currentMillis;
|
||||||
contactortestTimerActive = true;
|
contactortestTimerActive = true;
|
||||||
} else if (RS485_RXFRAME[7] == 0xFF) {
|
} else if (RS485_RXFRAME[7] == 0xFF) {
|
||||||
// no ACK sent
|
// no ACK sent
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue