Update KOSTAL-RS485.cpp

This commit is contained in:
gwk1 2025-03-21 10:10:35 +02:00 committed by GitHub
parent ff343d49c1
commit cf7b06b4f7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -364,6 +364,7 @@ void receive_RS485() // Runs as fast as possible to handle the serial stream
null_stuffer(tmpframe, 40);
send_kostal(tmpframe, 40);
datalayer.system.status.inverter_allows_contactor_closing = true;
dbg_message("inverter_allows_contactor_closing (battery_info) -> true");
if (!startupMillis) {
startupMillis = currentMillis;
}