this would need to be addressed one day
This commit is contained in:
parent
cdfee38284
commit
3a2fd58aa3
|
@ -413,6 +413,7 @@ void prepareOutputSignals() {
|
|||
}
|
||||
|
||||
angle_t getPerCylinderFiringOrderOffset(uint8_t cylinderIndex, uint8_t cylinderNumber) {
|
||||
UNUSED(cylinderNumber); // TODO: technical debt
|
||||
// base = position of this cylinder in the firing order.
|
||||
// We get a cylinder every n-th of an engine cycle where N is the number of cylinders
|
||||
auto firingOrderOffset = engine->engineState.engineCycle * cylinderIndex / engineConfiguration->cylindersCount;
|
||||
|
|
Loading…
Reference in New Issue