auto-sync

This commit is contained in:
rusEfi 2014-11-10 14:03:16 -06:00
parent f905fcb1a9
commit 6593f7573d
2 changed files with 5 additions and 5 deletions

View File

@ -24,10 +24,6 @@ void setBmwE43(engine_configuration_s *engineConfiguration) {
engineConfiguration->injectionMode = IM_SIMULTANEOUS; engineConfiguration->injectionMode = IM_SIMULTANEOUS;
engineConfiguration->ignitionMode = IM_WASTED_SPARK; engineConfiguration->ignitionMode = IM_WASTED_SPARK;
// emulating this 60-0 takes some resources, let's keep it slow by default
// rpm 200
boardConfiguration->triggerSimulatorFrequency = 200;
setConstantDwell(engineConfiguration, 3); // a bit shorter dwell setConstantDwell(engineConfiguration, 3); // a bit shorter dwell
engineConfiguration->useConstantDwellDuringCranking = true; engineConfiguration->useConstantDwellDuringCranking = true;
engineConfiguration->ignitionDwellForCrankingMs = 5; engineConfiguration->ignitionDwellForCrankingMs = 5;
@ -51,5 +47,9 @@ void setBmwE43(engine_configuration_s *engineConfiguration) {
bc->ignitionPins[4] = GPIOC_9; // #5 bc->ignitionPins[4] = GPIOC_9; // #5
bc->ignitionPins[5] = GPIO_UNASSIGNED; // #6 bc->ignitionPins[5] = GPIO_UNASSIGNED; // #6
// emulating this 60-0 takes some resources, let's keep it slow by default
// rpm 200
bc->triggerSimulatorFrequency = 200;
engineConfiguration->map.sensor.sensorType = MT_MPX4250; engineConfiguration->map.sensor.sensorType = MT_MPX4250;
} }

View File

@ -36,7 +36,7 @@ public class RpmPanel {
gauges.add(SensorGauge.createGauge(Sensor.FUEL)); gauges.add(SensorGauge.createGauge(Sensor.FUEL));
gauges.add(SensorGauge.createGauge(Sensor.TIMING)); gauges.add(SensorGauge.createGauge(Sensor.TIMING));
gauges.add(SensorGauge.createGauge(Sensor.VREF)); gauges.add(SensorGauge.createGauge(Sensor.VBATT));
gauges.add(SensorGauge.createGauge(Sensor.MAF)); gauges.add(SensorGauge.createGauge(Sensor.MAF));
gauges.add(SensorGauge.createGauge(Sensor.TPS)); gauges.add(SensorGauge.createGauge(Sensor.TPS));