diff Small_CPU/Src/uartProtocol_O2.c @ 969:81049905d829 Evo_2_23

Zusammenf?hren
author heinrichsweikamp
date Sun, 19 Jan 2025 12:02:59 +0100 (2 months ago)
parents 3420e3ba698d
children 142f3d0363b3
line wrap: on
line diff
--- a/Small_CPU/Src/uartProtocol_O2.c	Sun Jan 19 12:00:50 2025 +0100
+++ b/Small_CPU/Src/uartProtocol_O2.c	Sun Jan 19 12:02:59 2025 +0100
@@ -134,6 +134,10 @@
 		rxState = O2RX_CONFIRM;
 		uartO2_SetupCmd(localComState,cmdString,&cmdLength);
 		UART_SendCmdString(cmdString);
+		if(localComState == UART_O2_CHECK)
+		{
+			localComState = UART_O2_IDLE;	/* confirmation seems to be send after blinking => the response could be longer as the channel switch time => ignore */
+		}
 	}
 	externalInterface_SetSensorState(activeSensor + EXT_INTERFACE_MUX_OFFSET,localComState);
 }