mirror of
https://github.com/dalathegreat/Battery-Emulator.git
synced 2025-10-03 17:59:27 +02:00
Stop CAN at OTA-start
This commit is contained in:
parent
da47e843ea
commit
db7c76f6a0
2 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue