mirror of
https://github.com/dalathegreat/Battery-Emulator.git
synced 2025-10-03 17:59:27 +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;
|
||||
dbg_message("inverter_allows_contactor_closing -> false (Contactor test start)");
|
||||
send_kostal(ACK_FRAME, 8); // ACK
|
||||
contactortestTimerStart = millis();
|
||||
contactortestTimerStart = currentMillis;
|
||||
contactortestTimerActive = true;
|
||||
} else if (RS485_RXFRAME[7] == 0xFF) {
|
||||
// no ACK sent
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue