diff Discovery/Src/tMenuCvOptionText.c @ 1076:c87753e73eb8 Icon_Integration

Dev bugfix 50 pixel spacing: the control char '\007' was used for the new 50 pixel format style. This character was already in use as '\a' invert (same value different spelling) => The 50 pixel format has been switched to the control char '\033' which is not in use.
author Ideenmodellierer
date Sun, 22 Feb 2026 21:23:57 +0100
parents 734f84b72b30
children 082825daccb5
line wrap: on
line diff
--- a/Discovery/Src/tMenuCvOptionText.c	Sun Feb 22 20:00:00 2026 +0100
+++ b/Discovery/Src/tMenuCvOptionText.c	Sun Feb 22 21:23:57 2026 +0100
@@ -103,11 +103,11 @@
 
 		if((pSettings->ext_sensor_map[0] == SENSOR_ANALOG) || (pSettings->ext_sensor_map[0] == SENSOR_DIGO2M) || (pSettings->ext_sensor_map[0] == SENSOR_SENTINELM))
 		{
-			textPointer += snprintf(&pText[textPointer],20,"%c%01.1f \020\007",sensorStatusColor[0], stateUsed->lifeData.ppO2Sensor_bar[0]);
+			textPointer += snprintf(&pText[textPointer],20,"%c%01.1f \020\033",sensorStatusColor[0], stateUsed->lifeData.ppO2Sensor_bar[0]);
 		}
 		if((pSettings->ext_sensor_map[1] == SENSOR_ANALOG) || (pSettings->ext_sensor_map[1] == SENSOR_DIGO2M) || (pSettings->ext_sensor_map[1] == SENSOR_SENTINELM))
 		{
-			textPointer += snprintf(&pText[textPointer],20,"%c%01.1f \020\007",sensorStatusColor[1], stateUsed->lifeData.ppO2Sensor_bar[1]);
+			textPointer += snprintf(&pText[textPointer],20,"%c%01.1f \020\033",sensorStatusColor[1], stateUsed->lifeData.ppO2Sensor_bar[1]);
 		}
 		if((pSettings->ext_sensor_map[2] == SENSOR_ANALOG) || (pSettings->ext_sensor_map[2] == SENSOR_DIGO2M) || (pSettings->ext_sensor_map[2] == SENSOR_SENTINELM))
 		{
@@ -140,7 +140,7 @@
 	/* Grey out */
 	if(pSettings->co2_sensor_active == 0) sensorStatusColor = '\031';
 
-	textPointer += snprintf(&pText[textPointer],20,"%c%ld \020\007",sensorStatusColor, stateUsed->lifeData.CO2_data.CO2_ppm);
+	textPointer += snprintf(&pText[textPointer],20,"%c%ld \020\033",sensorStatusColor, stateUsed->lifeData.CO2_data.CO2_ppm);
 
 	pText[textPointer++] = '\020';
 	pText[textPointer] = 0;