kind of todo

This commit is contained in:
rusefi 2019-11-04 22:29:22 -05:00
parent 19f09bb6f4
commit 17792f762c
1 changed files with 6 additions and 1 deletions

View File

@ -125,7 +125,12 @@ bool isValidIntakeAirTemperature(temperature_t temperature) {
}
bool hasCltSensorM(DECLARE_ENGINE_PARAMETER_SIGNATURE) {
return engineConfiguration->clt.adcChannel != EFI_ADC_NONE;
bool haveSensorChannel = engineConfiguration->clt.adcChannel != EFI_ADC_NONE;
if (!haveSensorChannel) {
return false;
}
// return !cisnan(engine->sensors.clt); todo why would unit tests fail?!
return true;
}
/**