From 1be00fa89eb38b33db4fad84126d3f14cd8511fe Mon Sep 17 00:00:00 2001 From: rusefi Date: Sun, 21 Jun 2020 23:31:41 -0400 Subject: [PATCH] UART DMA for "primary" connector #1528 --- firmware/console/binary/tunerstudio_io.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/firmware/console/binary/tunerstudio_io.h b/firmware/console/binary/tunerstudio_io.h index 9d94e150ac..ac676e338b 100644 --- a/firmware/console/binary/tunerstudio_io.h +++ b/firmware/console/binary/tunerstudio_io.h @@ -30,7 +30,7 @@ struct ts_channel_s { */ char crcReadBuffer[BLOCKING_FACTOR + 30]; -#if TS_UART_DMA_MODE || PRIMARY_UART_DMA_MODE +#if TS_UART_DMA_MODE || PRIMARY_UART_DMA_MODE || TS_UART_MODE UARTDriver *uartp = nullptr; #endif // TS_UART_DMA_MODE };