On m_event vs lobe vs scheduling #3804
This commit is contained in:
parent
0451ae3de6
commit
729c9a1ff4
|
@ -138,7 +138,9 @@ void HpfpController::onFastCallback() {
|
||||||
m_requested_pump = 0;
|
m_requested_pump = 0;
|
||||||
m_deadtime = 0;
|
m_deadtime = 0;
|
||||||
} else {
|
} else {
|
||||||
|
#if EFI_PROD_CODE
|
||||||
efiAssertVoid(OBD_PCM_Processor_Fault, engine->triggerCentral.triggerShape.getSize() > engineConfiguration->hpfpCamLobes * 6, "Too few trigger tooth for this number of HPFP lobes");
|
efiAssertVoid(OBD_PCM_Processor_Fault, engine->triggerCentral.triggerShape.getSize() > engineConfiguration->hpfpCamLobes * 6, "Too few trigger tooth for this number of HPFP lobes");
|
||||||
|
#endif // EFI_PROD_CODE
|
||||||
// Convert deadtime from ms to degrees based on current RPM
|
// Convert deadtime from ms to degrees based on current RPM
|
||||||
float deadtime_ms = interpolate2d(
|
float deadtime_ms = interpolate2d(
|
||||||
Sensor::get(SensorType::BatteryVoltage).value_or(VBAT_FALLBACK_VALUE),
|
Sensor::get(SensorType::BatteryVoltage).value_or(VBAT_FALLBACK_VALUE),
|
||||||
|
|
Loading…
Reference in New Issue