ETB overrides (#3947)
This commit is contained in:
parent
511b54b838
commit
e4b998ff7c
|
@ -94,6 +94,11 @@ void setBoardConfigOverrides() {
|
||||||
|
|
||||||
engineConfiguration->canTxPin = GPIOD_1;
|
engineConfiguration->canTxPin = GPIOD_1;
|
||||||
engineConfiguration->canRxPin = GPIOD_0;
|
engineConfiguration->canRxPin = GPIOD_0;
|
||||||
|
|
||||||
|
engineConfiguration->etb_use_two_wires = true;
|
||||||
|
engineConfiguration->etbIo[0].directionPin1 = GPIOC_7; // PWM 3
|
||||||
|
engineConfiguration->etbIo[0].directionPin2 = GPIOC_8; // PWM 4
|
||||||
|
engineConfiguration->etbIo[0].controlPin = GPIOC_6; // PWM 2
|
||||||
}
|
}
|
||||||
|
|
||||||
void setSerialConfigurationOverrides() {
|
void setSerialConfigurationOverrides() {
|
||||||
|
|
Loading…
Reference in New Issue