diff Small_CPU/Src/uartProtocol_Co2.c @ 919:c0553dd70608 Evo_2_23

GNSS support for external UART interface: An ubox gps module may now be connected to the external UART. Per default the functionality is disabled using the compile switch ENABLE_GNSS_SUPPORT
author Ideenmodellierer
date Sun, 03 Nov 2024 15:43:04 +0100
parents 4832981f9af8
children effadaa3a1f7
line wrap: on
line diff
--- a/Small_CPU/Src/uartProtocol_Co2.c	Sun Nov 03 15:40:55 2024 +0100
+++ b/Small_CPU/Src/uartProtocol_Co2.c	Sun Nov 03 15:43:04 2024 +0100
@@ -84,6 +84,7 @@
 	{
 		CO2Connected = 0;
 		externalInterface_SetCO2Scale(0.0);
+		UART_clearRxBuffer();
 		UART_StartDMA_Receiption();
 		localComState = UART_CO2_SETUP;
 	}