;; typo
This commit is contained in:
parent
2fcab76cf7
commit
02b7c2580e
|
@ -170,7 +170,7 @@ void setBoardDefaultConfiguration() {
|
|||
engineConfiguration->mainRelayPin = Gpio::H144_OUT_IO10;
|
||||
engineConfiguration->fanPin = Gpio::H144_OUT_IO11;
|
||||
engineConfiguration->fuelPumpPin = Gpio::H144_OUT_IO12;
|
||||
engineConfiguration->tachOutputPin = Gpio::H144_OUT_IO13;;
|
||||
engineConfiguration->tachOutputPin = Gpio::H144_OUT_IO13;
|
||||
|
||||
// "required" hardware is done - set some reasonable defaults
|
||||
setupDefaultSensorInputs();
|
||||
|
|
|
@ -170,7 +170,7 @@ void setBoardDefaultConfiguration() {
|
|||
engineConfiguration->mainRelayPin = Gpio::H144_OUT_IO10;
|
||||
engineConfiguration->fanPin = Gpio::H144_OUT_IO11;
|
||||
engineConfiguration->fuelPumpPin = Gpio::H144_OUT_IO12;
|
||||
engineConfiguration->tachOutputPin = Gpio::H144_OUT_IO13;;
|
||||
engineConfiguration->tachOutputPin = Gpio::H144_OUT_IO13;
|
||||
|
||||
// "required" hardware is done - set some reasonable defaults
|
||||
setupDefaultSensorInputs();
|
||||
|
|
|
@ -34,7 +34,7 @@ static void setIgnitionPins() {
|
|||
engineConfiguration->ignitionPins[1] = Gpio::H144_IGN_2;
|
||||
engineConfiguration->ignitionPins[2] = Gpio::H144_IGN_3;
|
||||
engineConfiguration->ignitionPins[3] = Gpio::H144_IGN_4;
|
||||
engineConfiguration->ignitionPins[4] = Gpio::H144_IGN_5;;
|
||||
engineConfiguration->ignitionPins[4] = Gpio::H144_IGN_5;
|
||||
engineConfiguration->ignitionPins[5] = Gpio::H144_IGN_6;
|
||||
engineConfiguration->ignitionPins[6] = Gpio::H144_IGN_7;
|
||||
engineConfiguration->ignitionPins[7] = Gpio::H144_IGN_8;
|
||||
|
@ -94,7 +94,7 @@ void setBoardConfigOverrides() {
|
|||
// PWM pin
|
||||
engineConfiguration->etbIo[0].controlPin = Gpio::H144_OUT_PWM8;
|
||||
// DIR pin
|
||||
engineConfiguration->etbIo[0].directionPin1 = Gpio::H144_OUT_IO13;;
|
||||
engineConfiguration->etbIo[0].directionPin1 = Gpio::H144_OUT_IO13;
|
||||
// Disable pin
|
||||
engineConfiguration->etbIo[0].disablePin = Gpio::H144_OUT_IO4;
|
||||
// Unused
|
||||
|
|
|
@ -29,7 +29,7 @@ static void setIgnitionPins() {
|
|||
engineConfiguration->ignitionPins[1] = Gpio::H144_IGN_2;
|
||||
engineConfiguration->ignitionPins[2] = Gpio::H144_IGN_3;
|
||||
engineConfiguration->ignitionPins[3] = Gpio::H144_IGN_4;
|
||||
engineConfiguration->ignitionPins[4] = Gpio::H144_IGN_5;;
|
||||
engineConfiguration->ignitionPins[4] = Gpio::H144_IGN_5;
|
||||
engineConfiguration->ignitionPins[5] = Gpio::H144_IGN_6;
|
||||
}
|
||||
|
||||
|
|
|
@ -129,7 +129,7 @@ void setBoardConfigOverrides() {
|
|||
// DIR pin
|
||||
engineConfiguration->etbIo[1].directionPin1 = Gpio::H144_OUT_PWM5;
|
||||
// Disable pin
|
||||
engineConfiguration->etbIo[1].disablePin = Gpio::H144_OUT_IO13;;
|
||||
engineConfiguration->etbIo[1].disablePin = Gpio::H144_OUT_IO13;
|
||||
// Unused
|
||||
engineConfiguration->etbIo[1].directionPin2 = Gpio::Unassigned;
|
||||
}
|
||||
|
|
|
@ -26,7 +26,7 @@ static void setIgnitionPins() {
|
|||
engineConfiguration->ignitionPins[1] = Gpio::H144_IGN_2;
|
||||
engineConfiguration->ignitionPins[2] = Gpio::H144_IGN_3;
|
||||
engineConfiguration->ignitionPins[3] = Gpio::H144_IGN_4;
|
||||
engineConfiguration->ignitionPins[4] = Gpio::H144_IGN_5;;
|
||||
engineConfiguration->ignitionPins[4] = Gpio::H144_IGN_5;
|
||||
engineConfiguration->ignitionPins[5] = Gpio::H144_IGN_6;
|
||||
}
|
||||
|
||||
|
|
|
@ -189,7 +189,7 @@ static float getBaseFuelMass(int rpm) {
|
|||
auto gramPerMs = rpm == 0 ? 0 : gramPerCycle / getEngineCycleDuration(rpm);
|
||||
|
||||
// convert g/s -> kg/h
|
||||
engine->engineState.airflowEstimate = gramPerMs * 3600000 /* milliseconds per hour */ / 1000 /* grams per kg */;;
|
||||
engine->engineState.airflowEstimate = gramPerMs * 3600000 /* milliseconds per hour */ / 1000 /* grams per kg */;
|
||||
|
||||
float baseFuelMass = engine->fuelComputer.getCycleFuel(airmass.CylinderAirmass, rpm, airmass.EngineLoadPercent);
|
||||
|
||||
|
|
Loading…
Reference in New Issue