this would need to be addressed one day

This commit is contained in:
Andrey 2023-11-02 11:26:47 -04:00
parent cdfee38284
commit 3a2fd58aa3
1 changed files with 1 additions and 0 deletions

View File

@ -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;