move etb from default to override (#4250)
This commit is contained in:
parent
1701d9a179
commit
9f11410b74
|
@ -94,6 +94,11 @@ void setBoardConfigOverrides() {
|
||||||
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;
|
||||||
|
|
||||||
|
@ -148,11 +153,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