move etb from default to override (#4250)
This commit is contained in:
parent
1701d9a179
commit
9f11410b74
|
@ -93,6 +93,11 @@ void setBoardConfigOverrides() {
|
|||
setHellen176LedPins();
|
||||
setupVbatt();
|
||||
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->iat.config.bias_resistor = 4700;
|
||||
|
@ -147,11 +152,6 @@ void setBoardDefaultConfiguration() {
|
|||
|
||||
// "required" hardware is done - set some reasonable defaults
|
||||
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.firingOrder = FO_1_3_4_2;
|
||||
|
|
Loading…
Reference in New Issue