another last part of #549
This commit is contained in:
parent
63b442c483
commit
699f3255a9
|
@ -231,7 +231,7 @@ static void mapAveragingCallback(trigger_event_e ckpEventType,
|
|||
measurementsPerRevolution = measurementsPerRevolutionCounter;
|
||||
measurementsPerRevolutionCounter = 0;
|
||||
|
||||
int samplingCount = CONFIG(measureMapOnlyInOneCylinder) ? 1 : engineConfiguration->specs.cylindersCount;
|
||||
int samplingCount = boardConfiguration->measureMapOnlyInOneCylinder ? 1 : engineConfiguration->specs.cylindersCount;
|
||||
|
||||
for (int i = 0; i < samplingCount; i++) {
|
||||
angle_t samplingStart = ENGINE(engineState.mapAveragingStart[i]);
|
||||
|
|
Loading…
Reference in New Issue