diff Small_CPU/Src/uartProtocol_O2.c @ 800:f8a112c5e71d

Cleanup warnings
author Ideenmodellierer
date Tue, 08 Aug 2023 17:29:03 +0200
parents e9eba334b942
children 4832981f9af8
line wrap: on
line diff
--- a/Small_CPU/Src/uartProtocol_O2.c	Mon Aug 07 20:32:42 2023 +0200
+++ b/Small_CPU/Src/uartProtocol_O2.c	Tue Aug 08 17:29:03 2023 +0200
@@ -49,9 +49,9 @@
 					break;
 		case UART_O2_REQ_ID: 	*cmdLength = snprintf((char*)cmdString, 10, "#IDNR");
 			break;
-		case UART_O2_REQ_O2: 	*cmdLength = snprintf((char*)cmdString, 10, "#MOXY");
+		case UART_O2_REQ_O2: 	*cmdLength = snprintf((char*)cmdString, 10, "#DOXY");
 			break;
-		case UART_O2_REQ_RAW:	*cmdLength = snprintf((char*)cmdString, 10, "#MRAW");
+		case UART_O2_REQ_RAW:	*cmdLength = snprintf((char*)cmdString, 10, "#DRAW");
 			break;
 		default: *cmdLength = 0;
 			break;
@@ -99,7 +99,7 @@
 		UART_FlushRxBuffer();
 	}
 
-	if(localComState == UART_COMMON_INIT)
+	if(localComState == UART_O2_INIT)
 	{
 		memset((char*) &tmpSensorDataDiveO2, 0, sizeof(tmpSensorDataDiveO2));
 		externalInterface_SetSensorData(0xFF,(uint8_t*)&tmpSensorDataDiveO2);