From de7d6a8b6dd21a73bdccfd18027a1b3740cfc7e9 Mon Sep 17 00:00:00 2001 From: rusefi Date: Tue, 21 Mar 2017 22:07:04 -0400 Subject: [PATCH] better CAN defaults --- firmware/controllers/algo/engine_configuration.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/firmware/controllers/algo/engine_configuration.cpp b/firmware/controllers/algo/engine_configuration.cpp index 97f4dc5d86..b80eb18497 100644 --- a/firmware/controllers/algo/engine_configuration.cpp +++ b/firmware/controllers/algo/engine_configuration.cpp @@ -804,6 +804,8 @@ void setDefaultConfiguration(DECLARE_ENGINE_PARAMETER_F) { boardConfiguration->canDeviceMode = CD_USE_CAN2; boardConfiguration->canTxPin = GPIOB_6; boardConfiguration->canRxPin = GPIOB_12; + engineConfiguration->canWriteEnabled = true; + engineConfiguration->canNbcType = CAN_BUS_MAZDA_RX8; // set this to SPI_DEVICE_3 to enable stimulation boardConfiguration->digitalPotentiometerSpiDevice = SPI_NONE;