small-cab-board can2

This commit is contained in:
rusefillc 2024-01-18 21:27:36 -05:00
parent 0495c9fd4c
commit 018e90fb82
1 changed files with 4 additions and 0 deletions

View File

@ -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;