From 018e90fb82f640c750b20c15406008fd2e903317 Mon Sep 17 00:00:00 2001 From: rusefillc Date: Thu, 18 Jan 2024 21:27:36 -0500 Subject: [PATCH] small-cab-board can2 --- .../boards/hellen/small-can-board/board_configuration.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/firmware/config/boards/hellen/small-can-board/board_configuration.cpp b/firmware/config/boards/hellen/small-can-board/board_configuration.cpp index c0e28695d8..276b69a060 100644 --- a/firmware/config/boards/hellen/small-can-board/board_configuration.cpp +++ b/firmware/config/boards/hellen/small-can-board/board_configuration.cpp @@ -8,6 +8,10 @@ void setBoardConfigOverrides() { setHellen64MegaEnPin(); setHellen64SdCardSpi(); + // not stm32 CAN DFU configuration :( + engineConfiguration->can2RxPin = Gpio::B5; + engineConfiguration->can2TxPin = Gpio::B6; + // 4.7k high side/4.7k low side = 2.0 ratio divider engineConfiguration->analogInputDividerCoefficient = 2.0f;