ETB to overrides
This commit is contained in:
parent
bdd7183b7d
commit
ce611b1ea6
|
@ -94,6 +94,11 @@ void setBoardConfigOverrides() {
|
|||
setupVbatt();
|
||||
setHellenSdCardSpi3();
|
||||
|
||||
engineConfiguration->etbIo[0].directionPin1 = H144_OUT_PWM7;
|
||||
engineConfiguration->etbIo[0].directionPin2 = H144_OUT_PWM6;
|
||||
engineConfiguration->etbIo[0].controlPin = Gpio::D13; // ETB_EN out_pwm1
|
||||
engineConfiguration->etb_use_two_wires = true;
|
||||
|
||||
engineConfiguration->clt.config.bias_resistor = 4700;
|
||||
engineConfiguration->iat.config.bias_resistor = 4700;
|
||||
}
|
||||
|
@ -126,10 +131,6 @@ void setBoardDefaultConfiguration() {
|
|||
// "required" hardware is done - set some reasonable defaults
|
||||
setupDefaultSensorInputs();
|
||||
|
||||
engineConfiguration->etbIo[0].directionPin1 = H144_OUT_PWM7;
|
||||
engineConfiguration->etbIo[0].directionPin2 = H144_OUT_PWM6;
|
||||
engineConfiguration->etbIo[0].controlPin = Gpio::D13; // ETB_EN out_pwm1
|
||||
engineConfiguration->etb_use_two_wires = true;
|
||||
|
||||
// Some sensible defaults for other options
|
||||
setCrankOperationMode();
|
||||
|
|
|
@ -124,11 +124,6 @@ void setBoardDefaultConfiguration() {
|
|||
// "required" hardware is done - set some reasonable defaults
|
||||
setupDefaultSensorInputs();
|
||||
|
||||
// hellen88bmw uses L6205PD
|
||||
engineConfiguration->etbIo[0].directionPin1 = H144_OUT_PWM2; // ETB+
|
||||
engineConfiguration->etbIo[0].directionPin2 = H144_OUT_PWM3; // ETB-
|
||||
engineConfiguration->etbIo[0].controlPin = H144_OUT_PWM1; // ETB_EN
|
||||
engineConfiguration->etb_use_two_wires = true;
|
||||
|
||||
// Some sensible defaults for other options
|
||||
setCrankOperationMode();
|
||||
|
|
Loading…
Reference in New Issue