auto-sync
This commit is contained in:
parent
4f78de8c0b
commit
8241bca444
|
@ -140,8 +140,11 @@ void FuelSchedule::addFuelEventsForCylinder(int i DECLARE_ENGINE_PARAMETER_S) {
|
||||||
|
|
||||||
assertAngleRange(baseAngle, "addFbaseAngle");
|
assertAngleRange(baseAngle, "addFbaseAngle");
|
||||||
|
|
||||||
|
int cylindersCount = CONFIG(specs.cylindersCount);
|
||||||
|
efiAssertVoid(cylindersCount > 0, "cylindersCount");
|
||||||
|
|
||||||
float angle = baseAngle
|
float angle = baseAngle
|
||||||
+ i * ENGINE(engineCycle) / CONFIG(specs.cylindersCount);
|
+ i * ENGINE(engineCycle) / cylindersCount;
|
||||||
|
|
||||||
InjectorOutputPin *secondOutput;
|
InjectorOutputPin *secondOutput;
|
||||||
if (mode == IM_BATCH && CONFIG(twoWireBatchInjection)) {
|
if (mode == IM_BATCH && CONFIG(twoWireBatchInjection)) {
|
||||||
|
|
Loading…
Reference in New Issue