diff Small_CPU/Src/uartProtocol_O2.c @ 916:4832981f9af8 Evo_2_23

External sensor UART: Switch to DMA TX transfers: The previous version used polling tx function to transfer data. Because of the short command length of the protocols supported this was no big issue. New protocolls (like GNSS) have longer command sequence which have an impact to the program flow. That's why the implementation has been changed to DMA transmission.
author Ideenmodellierer
date Mon, 28 Oct 2024 20:34:58 +0100
parents f8a112c5e71d
children eb4109d7d1e9
line wrap: on
line diff
--- a/Small_CPU/Src/uartProtocol_O2.c	Sat Oct 19 20:10:56 2024 +0200
+++ b/Small_CPU/Src/uartProtocol_O2.c	Mon Oct 28 20:34:58 2024 +0100
@@ -107,12 +107,10 @@
 		localComState = UART_O2_CHECK;
 		lastComState = UART_O2_CHECK;
 		uartO2_SetupCmd(localComState,cmdString,&cmdLength);
-
+		UART_SendCmdString(cmdString);
 		rxState = O2RX_CONFIRM;
 		respondErrorDetected = 0;
 		digO2Connected = 0;
-
-		UART_StartDMA_Receiption();
 	}
 	else
 	{