auto-sync

This commit is contained in:
rusEfi 2016-12-20 23:02:52 -05:00
parent 4f78de8c0b
commit 8241bca444
1 changed files with 4 additions and 1 deletions

View File

@ -140,8 +140,11 @@ void FuelSchedule::addFuelEventsForCylinder(int i DECLARE_ENGINE_PARAMETER_S) {
assertAngleRange(baseAngle, "addFbaseAngle");
int cylindersCount = CONFIG(specs.cylindersCount);
efiAssertVoid(cylindersCount > 0, "cylindersCount");
float angle = baseAngle
+ i * ENGINE(engineCycle) / CONFIG(specs.cylindersCount);
+ i * ENGINE(engineCycle) / cylindersCount;
InjectorOutputPin *secondOutput;
if (mode == IM_BATCH && CONFIG(twoWireBatchInjection)) {