Fix to CAN 1 bus overwrites. TX and RX pins swaped. (#3977)

This commit is contained in:
Benas Brazdziunas 2022-03-03 00:03:20 +00:00 committed by GitHub
parent 4f15fc6179
commit 935fbca686
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -102,8 +102,8 @@ void setBoardConfigOverrides() {
engineConfiguration->iat.config.bias_resistor = 2490;
//CAN 1 bus overwrites
engineConfiguration->canTxPin = GPIOD_0;
engineConfiguration->canRxPin = GPIOD_1;
engineConfiguration->canRxPin = GPIOD_0;
engineConfiguration->canTxPin = GPIOD_1;
//CAN 2 bus overwrites
engineConfiguration->can2RxPin = GPIOB_5;