Skip to content

Commit

Permalink
Add ERROR debug msg when solar blocks contactor
Browse files Browse the repository at this point in the history
  • Loading branch information
dalathegreat committed Jan 25, 2024
1 parent ff228d9 commit 7754302
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Software/src/battery/TESLA-MODEL-3-BATTERY.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit 7754302

Please sign in to comment.