From 77543022dc34b9ef75ac43817c9d9c565729c782 Mon Sep 17 00:00:00 2001 From: Daniel Date: Thu, 25 Jan 2024 16:15:42 +0200 Subject: [PATCH] Add ERROR debug msg when solar blocks contactor --- Software/src/battery/TESLA-MODEL-3-BATTERY.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Software/src/battery/TESLA-MODEL-3-BATTERY.cpp b/Software/src/battery/TESLA-MODEL-3-BATTERY.cpp index c7312565..a6d620d6 100644 --- a/Software/src/battery/TESLA-MODEL-3-BATTERY.cpp +++ b/Software/src/battery/TESLA-MODEL-3-BATTERY.cpp @@ -589,7 +589,10 @@ void printFaultCodesIfActive() { if (pyroTestInProgress == 1) { Serial.println("ERROR: Please wait for Pyro Connection check to finish, HV cables successfully seated!"); } - + if (inverterAllowsContactorClosing == 0) { + Serial.println( + "ERROR: Solar inverter does not allow for contactor closing. Check inverterAllowsContactorClosing parameter"); + } // Check each symbol and print debug information if its value is 1 printDebugIfActive(WatchdogReset, "ERROR: The processor has experienced a reset due to watchdog reset"); printDebugIfActive(PowerLossReset, "ERROR: The processor has experienced a reset due to power loss");