auto-sync
This commit is contained in:
parent
9d44f54c6a
commit
5addd533dd
|
@ -179,6 +179,8 @@ void setCommonNTCSensor(ThermistorConf *thermistorConf) {
|
|||
}
|
||||
|
||||
void initThermistors(Engine *engine) {
|
||||
efiAssertVoid(engine!=NULL, "e NULL initThermistors");
|
||||
efiAssertVoid(engine->engineConfiguration2!=NULL, "e2 NULL initThermistors");
|
||||
initThermistorCurve(&engine->engineConfiguration2->clt, &engine->engineConfiguration->cltThermistorConf,
|
||||
engine->engineConfiguration->cltAdcChannel);
|
||||
initThermistorCurve(&engine->engineConfiguration2->iat, &engine->engineConfiguration->iatThermistorConf,
|
||||
|
|
|
@ -62,9 +62,11 @@ void setOutputPinValue(io_pin_e pin, int logicValue) {
|
|||
#if EFI_PROD_CODE
|
||||
if (outputs[pin].port == GPIO_NULL)
|
||||
return;
|
||||
#endif
|
||||
efiAssertVoid(pinDefaultState[pin]!=NULL, "pin mode not initialized");
|
||||
pin_output_mode_e mode = *pinDefaultState[pin];
|
||||
#else
|
||||
pin_output_mode_e mode = OM_DEFAULT;
|
||||
#endif
|
||||
setPinValue(&outputs[pin], getElectricalValue(logicValue, mode), logicValue);
|
||||
}
|
||||
|
||||
|
|
|
@ -77,6 +77,7 @@ void rusEfiFunctionalTest(void) {
|
|||
initDataStructures(engineConfiguration);
|
||||
|
||||
engine.engineConfiguration = engineConfiguration;
|
||||
engine.engineConfiguration2 = engineConfiguration2;
|
||||
|
||||
|
||||
resetConfigurationExt(NULL, FORD_ASPIRE_1996, engineConfiguration, engineConfiguration2);
|
||||
|
|
Loading…
Reference in New Issue