diff --git a/firmware/config/boards/proteus/board_configuration.cpp b/firmware/config/boards/proteus/board_configuration.cpp index 571913506e..5c56db2a19 100644 --- a/firmware/config/boards/proteus/board_configuration.cpp +++ b/firmware/config/boards/proteus/board_configuration.cpp @@ -151,8 +151,10 @@ void setBoardConfigOverrides(void) { engineConfiguration->canTxPin = GPIOD_1; engineConfiguration->canRxPin = GPIOD_0; +#if defined(STM32F4) || defined(STM32F7) engineConfiguration->can2RxPin = GPIOB_12; engineConfiguration->can2TxPin = GPIOB_13; +#endif engineConfiguration->lps25BaroSensorScl = GPIOB_10; engineConfiguration->lps25BaroSensorSda = GPIOB_11;