Stop CAN at OTA-start

This commit is contained in:
Cabooman 2024-01-07 22:58:11 +01:00
parent da47e843ea
commit db7c76f6a0
2 changed files with 2 additions and 0 deletions

View file

@ -316,6 +316,7 @@ String processor(const String& var) {
void onOTAStart() {
// Log when OTA has started
Serial.println("OTA update started!");
ESP32Can.CANStop();
bms_status = 5; //Inform inverter that we are updating
LEDcolor = BLUE;
}