From a37f3d207878e480f300b305f1a26297fdf2d940 Mon Sep 17 00:00:00 2001 From: rusefi Date: Sun, 19 Feb 2023 14:53:14 -0500 Subject: [PATCH] Pavel Xenon says UART is not happy #5105 at least less confusing default? --- firmware/controllers/algo/engine_configuration.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/firmware/controllers/algo/engine_configuration.cpp b/firmware/controllers/algo/engine_configuration.cpp index ca931b2511..e5d509d4b7 100644 --- a/firmware/controllers/algo/engine_configuration.cpp +++ b/firmware/controllers/algo/engine_configuration.cpp @@ -280,8 +280,11 @@ void setDefaultBasePins() { // set UART pads configuration based on the board // needed also by bootloader code +#ifdef TS_SECONDARY_UxART_PORT engineConfiguration->binarySerialTxPin = Gpio::C10; engineConfiguration->binarySerialRxPin = Gpio::C11; +#endif // TS_SECONDARY_UxART_PORT + engineConfiguration->tunerStudioSerialSpeed = TS_DEFAULT_SPEED; engineConfiguration->uartConsoleSerialSpeed = 115200; }