dead lines
This commit is contained in:
parent
70f7f856bb
commit
9764ae2f79
|
@ -44,8 +44,6 @@ static void setEtbConfig() {
|
|||
engineConfiguration->etbIo[0].directionPin1 = Gpio::B9;
|
||||
// Disable pin
|
||||
engineConfiguration->etbIo[0].disablePin = Gpio::B7;
|
||||
// Unused
|
||||
engineConfiguration->etbIo[0].directionPin2 = Gpio::Unassigned;
|
||||
|
||||
// Throttle #2
|
||||
// PWM pin
|
||||
|
@ -54,8 +52,6 @@ static void setEtbConfig() {
|
|||
engineConfiguration->etbIo[1].directionPin1 = Gpio::Unassigned;
|
||||
// Disable pin
|
||||
engineConfiguration->etbIo[1].disablePin = Gpio::Unassigned;
|
||||
// Unused
|
||||
engineConfiguration->etbIo[1].directionPin2 = Gpio::Unassigned;
|
||||
|
||||
// we only have pwm/dir, no dira/dirb
|
||||
engineConfiguration->etb_use_two_wires = false;
|
||||
|
|
|
@ -49,8 +49,6 @@ static void setupEtb() {
|
|||
engineConfiguration->etbIo[0].directionPin1 = H144_GP1;
|
||||
// Disable pin
|
||||
engineConfiguration->etbIo[0].disablePin = H144_GP2;
|
||||
// Unused
|
||||
engineConfiguration->etbIo[0].directionPin2 = Gpio::Unassigned;
|
||||
|
||||
// we only have pwm/dir, no dira/dirb
|
||||
engineConfiguration->etb_use_two_wires = false;
|
||||
|
|
|
@ -48,8 +48,6 @@ static void setupEtb() {
|
|||
engineConfiguration->etbIo[0].directionPin1 = H144_GP1;
|
||||
// Disable pin
|
||||
engineConfiguration->etbIo[0].disablePin = H144_GP5;
|
||||
// Unused
|
||||
engineConfiguration->etbIo[0].directionPin2 = Gpio::Unassigned;
|
||||
|
||||
// PWM pin
|
||||
engineConfiguration->etbIo[1].controlPin = H144_GP4;
|
||||
|
@ -57,8 +55,6 @@ static void setupEtb() {
|
|||
engineConfiguration->etbIo[1].directionPin1 = Gpio::H144_GP3;
|
||||
// Disable pin
|
||||
engineConfiguration->etbIo[1].disablePin = Gpio::Unassigned;
|
||||
// Unused
|
||||
engineConfiguration->etbIo[1].directionPin2 = Gpio::Unassigned;
|
||||
// we only have pwm/dir, no dira/dirb
|
||||
engineConfiguration->etb_use_two_wires = false;
|
||||
}
|
||||
|
|
|
@ -81,8 +81,6 @@ void setBoardConfigOverrides() {
|
|||
engineConfiguration->etbIo[0].directionPin1 = Gpio::MM100_SPI2_MISO;
|
||||
// Disable pin
|
||||
engineConfiguration->etbIo[0].disablePin = Gpio::MM100_SPI2_MOSI;
|
||||
// Unused
|
||||
engineConfiguration->etbIo[0].directionPin2 = Gpio::Unassigned;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -81,8 +81,6 @@ void setBoardConfigOverrides() {
|
|||
engineConfiguration->etbIo[0].directionPin1 = Gpio::MM100_SPI2_MISO;
|
||||
// Disable pin
|
||||
engineConfiguration->etbIo[0].disablePin = Gpio::MM100_SPI2_MOSI;
|
||||
// Unused
|
||||
engineConfiguration->etbIo[0].directionPin2 = Gpio::Unassigned;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -97,10 +97,6 @@ void setBoardConfigOverrides() {
|
|||
engineConfiguration->etbIo[0].directionPin1 = Gpio::H144_OUT_IO13;
|
||||
// Disable pin
|
||||
engineConfiguration->etbIo[0].disablePin = Gpio::H144_OUT_IO4;
|
||||
// Unused
|
||||
engineConfiguration->etbIo[0].directionPin2 = Gpio::Unassigned;
|
||||
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -101,8 +101,6 @@ static void setHellen128ETBConfig() {
|
|||
engineConfiguration->etbIo[0].directionPin1 = H176_OUT_PWM2;
|
||||
// Disable pin
|
||||
engineConfiguration->etbIo[0].disablePin = H176_OUT_PWM1;
|
||||
// Unused
|
||||
engineConfiguration->etbIo[0].directionPin2 = Gpio::Unassigned;
|
||||
|
||||
//ETB2
|
||||
// PWM pin
|
||||
|
@ -111,8 +109,6 @@ static void setHellen128ETBConfig() {
|
|||
engineConfiguration->etbIo[1].directionPin1 = Gpio::H13;
|
||||
// Disable pin
|
||||
engineConfiguration->etbIo[1].disablePin = Gpio::B7;
|
||||
// Unused
|
||||
engineConfiguration->etbIo[1].directionPin2 = Gpio::Unassigned;
|
||||
|
||||
// we only have pwm/dir, no dira/dirb
|
||||
engineConfiguration->etb_use_two_wires = false;
|
||||
|
|
|
@ -119,8 +119,6 @@ void setBoardConfigOverrides() {
|
|||
engineConfiguration->etbIo[0].directionPin1 = Gpio::H144_OUT_PWM3;
|
||||
// Disable pin
|
||||
engineConfiguration->etbIo[0].disablePin = Gpio::H144_OUT_IO12;
|
||||
// Unused
|
||||
engineConfiguration->etbIo[0].directionPin2 = Gpio::Unassigned;
|
||||
|
||||
// wastegate DC motor
|
||||
//ETB2
|
||||
|
@ -130,8 +128,6 @@ void setBoardConfigOverrides() {
|
|||
engineConfiguration->etbIo[1].directionPin1 = Gpio::H144_OUT_PWM5;
|
||||
// Disable pin
|
||||
engineConfiguration->etbIo[1].disablePin = Gpio::H144_OUT_IO13;
|
||||
// Unused
|
||||
engineConfiguration->etbIo[1].directionPin2 = Gpio::Unassigned;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -81,8 +81,6 @@ void setBoardConfigOverrides() {
|
|||
engineConfiguration->etbIo[0].directionPin1 = Gpio::MM100_SPI2_MISO;
|
||||
// Disable pin
|
||||
engineConfiguration->etbIo[0].disablePin = Gpio::MM100_SPI2_MOSI;
|
||||
// Unused
|
||||
engineConfiguration->etbIo[0].directionPin2 = Gpio::Unassigned;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -98,8 +98,6 @@ static void setupEtb() {
|
|||
engineConfiguration->etbIo[0].directionPin1 = Gpio::A8;
|
||||
// Disable pin
|
||||
engineConfiguration->etbIo[0].disablePin = Gpio::C8;
|
||||
// Unused
|
||||
engineConfiguration->etbIo[0].directionPin2 = Gpio::Unassigned;
|
||||
|
||||
// we only have pwm/dir, no dira/dirb
|
||||
engineConfiguration->etb_use_two_wires = false;
|
||||
|
|
|
@ -87,8 +87,6 @@ static void setupEtb() {
|
|||
engineConfiguration->etbIo[0].directionPin1 = Gpio::D10;
|
||||
// Disable pin
|
||||
engineConfiguration->etbIo[0].disablePin = Gpio::D11;
|
||||
// Unused
|
||||
engineConfiguration->etbIo[0].directionPin2 = Gpio::Unassigned;
|
||||
|
||||
// Throttle #2
|
||||
// PWM pin
|
||||
|
@ -97,8 +95,6 @@ static void setupEtb() {
|
|||
engineConfiguration->etbIo[1].directionPin1 = Gpio::D9;
|
||||
// Disable pin
|
||||
engineConfiguration->etbIo[1].disablePin = Gpio::D8;
|
||||
// Unused
|
||||
engineConfiguration->etbIo[1].directionPin2 = Gpio::Unassigned;
|
||||
|
||||
// we only have pwm/dir, no dira/dirb
|
||||
engineConfiguration->etb_use_two_wires = false;
|
||||
|
|
Loading…
Reference in New Issue