Merge branch 'main' into feature/tesla-balancing

This commit is contained in:
Daniel Öster 2024-12-31 18:57:43 +02:00
commit d638626bbe
16 changed files with 127 additions and 30 deletions

View file

@ -2723,7 +2723,7 @@ void print_SOC(char* header, int SOC) {
if (hundredth < 10)
logging.print(0);
logging.print(hundredth);
logging.println("%");
logging.println("pct");
}
void printFaultCodesIfActive() {
@ -2742,7 +2742,7 @@ void printFaultCodesIfActive() {
}
// Check each symbol and print debug information if its value is 1
// 0X3AA: 938 HVP_alertMatrix1
printDebugIfActive(battery_WatchdogReset, "ERROR: The processor has experienced a reset due to watchdog reset");
//printDebugIfActive(battery_WatchdogReset, "ERROR: The processor has experienced a reset due to watchdog reset"); //Uncommented due to not affecting usage
printDebugIfActive(battery_PowerLossReset, "ERROR: The processor has experienced a reset due to power loss");
printDebugIfActive(battery_SwAssertion, "ERROR: An internal software assertion has failed");
printDebugIfActive(battery_CrashEvent, "ERROR: crash signal is detected by HVP");
@ -2910,7 +2910,7 @@ void printFaultCodesIfActive_battery2() {
"disable the inverter protocol to proceed with contactor closing");
}
// Check each symbol and print debug information if its value is 1
printDebugIfActive(battery2_WatchdogReset, "ERROR: The processor has experienced a reset due to watchdog reset");
//printDebugIfActive(battery2_WatchdogReset, "ERROR: The processor has experienced a reset due to watchdog reset"); //Uncommented due to not affecting usage
printDebugIfActive(battery2_PowerLossReset, "ERROR: The processor has experienced a reset due to power loss");
printDebugIfActive(battery2_SwAssertion, "ERROR: An internal software assertion has failed");
printDebugIfActive(battery2_CrashEvent, "ERROR: crash signal is detected by HVP");