ETB overrides (#3947)
This commit is contained in:
parent
dd6de0bb02
commit
323b30b44b
|
@ -94,6 +94,11 @@ void setBoardConfigOverrides() {
|
|||
|
||||
engineConfiguration->canTxPin = GPIOD_1;
|
||||
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() {
|
||||
|
|
Loading…
Reference in New Issue