mc33 progress

This commit is contained in:
rusefi 2020-04-13 20:01:06 -04:00
parent d299998b65
commit bf541d5361
1 changed files with 3 additions and 0 deletions

View File

@ -341,6 +341,9 @@ void initMc33816(Logging *sharedLogger) {
download_register(REG_MAIN); // download main register configurations
if (CONFIG(mc33816_flag0) != GPIO_UNASSIGNED) {
flag0after = efiReadPin(CONFIG(mc33816_flag0));
if (flag0before || !flag0after) {
firmwareError(OBD_PCM_Processor_Fault, "MC33 no buena");
}
}
download_register(REG_CH1); // download channel 1 register configurations