Startup Pin State Error - maybe hardware damage of STM32 pin connected to a 12v-powered TC4427? #3558

This commit is contained in:
rusefillc 2021-11-17 04:45:55 -05:00
parent d688f72c3e
commit b579b33082
1 changed files with 1 additions and 1 deletions

View File

@ -565,7 +565,7 @@ void OutputPin::initPin(const char *msg, brain_pin_e brainPin, const pin_output_
// if the pin was set to logical 1, then set an error and disable the pin so that things don't catch fire
if (logicalValue) {
firmwareError(OBD_PCM_Processor_Fault, "%s: startup pin state %s actual value=%d logical value=%d mode=%s", msg, hwPortname(brainPin), actualValue, logicalValue, getPin_output_mode_e(*outputMode));
firmwareError(OBD_PCM_Processor_Fault, "HARDWARE VALIDATEION FAILED %s: unexpected startup pin state %s actual value=%d logical value=%d mode=%s", msg, hwPortname(brainPin), actualValue, logicalValue, getPin_output_mode_e(*outputMode));
OutputPin::deInit();
}
}