dead lines

This commit is contained in:
rusefillc 2023-12-02 13:27:49 -05:00
parent 70f7f856bb
commit 9764ae2f79
11 changed files with 0 additions and 34 deletions

View File

@ -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;

View File

@ -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;

View File

@ -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;
}

View File

@ -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;
}
/**

View File

@ -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;
}
/**

View File

@ -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;
}
/**

View File

@ -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;

View File

@ -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;
}
}

View File

@ -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;
}
/**

View File

@ -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;

View File

@ -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;