mirror of https://github.com/rusefi/rusefi-1.git
move etb from default to override (#4250)
This commit is contained in:
parent
1701d9a179
commit
9f11410b74
|
@ -93,6 +93,11 @@ void setBoardConfigOverrides() {
|
||||||
setHellen176LedPins();
|
setHellen176LedPins();
|
||||||
setupVbatt();
|
setupVbatt();
|
||||||
setSdCardConfigurationOverrides();
|
setSdCardConfigurationOverrides();
|
||||||
|
|
||||||
|
engineConfiguration->etbIo[0].directionPin1 = Gpio::C7; // out_pwm3
|
||||||
|
engineConfiguration->etbIo[0].directionPin2 = Gpio::C8; // out_pwm4
|
||||||
|
engineConfiguration->etbIo[0].controlPin = Gpio::C6; // ETB_EN out_pwm2
|
||||||
|
engineConfiguration->etb_use_two_wires = true;
|
||||||
|
|
||||||
engineConfiguration->clt.config.bias_resistor = 4700;
|
engineConfiguration->clt.config.bias_resistor = 4700;
|
||||||
engineConfiguration->iat.config.bias_resistor = 4700;
|
engineConfiguration->iat.config.bias_resistor = 4700;
|
||||||
|
@ -147,11 +152,6 @@ void setBoardDefaultConfiguration() {
|
||||||
|
|
||||||
// "required" hardware is done - set some reasonable defaults
|
// "required" hardware is done - set some reasonable defaults
|
||||||
setupDefaultSensorInputs();
|
setupDefaultSensorInputs();
|
||||||
|
|
||||||
engineConfiguration->etbIo[0].directionPin1 = Gpio::C7; // out_pwm3
|
|
||||||
engineConfiguration->etbIo[0].directionPin2 = Gpio::C8; // out_pwm4
|
|
||||||
engineConfiguration->etbIo[0].controlPin = Gpio::C6; // ETB_EN out_pwm2
|
|
||||||
engineConfiguration->etb_use_two_wires = true;
|
|
||||||
|
|
||||||
engineConfiguration->specs.cylindersCount = 4;
|
engineConfiguration->specs.cylindersCount = 4;
|
||||||
engineConfiguration->specs.firingOrder = FO_1_3_4_2;
|
engineConfiguration->specs.firingOrder = FO_1_3_4_2;
|
||||||
|
|
Loading…
Reference in New Issue