Fix contactor test timer start variable assignment

This commit is contained in:
mbuhansen 2025-08-29 19:15:17 +02:00 committed by GitHub
parent b8059de996
commit 91273c7763
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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