diff Discovery/Src/tMenuHardware.c @ 525:1f557e5f4b5a

Change color ID used in strings for light grey: CLUT of id 21 and 31 were the same. Changed CLUT of 21 back to a dark grey (used to show off state) and updated strings to 31 => No visible change in menus
author Ideenmodellierer
date Sun, 13 Sep 2020 20:49:58 +0200
parents 5e8ad1cd353f
children 9825dcf50675
line wrap: on
line diff
--- a/Discovery/Src/tMenuHardware.c	Sun Sep 13 20:44:50 2020 +0200
+++ b/Discovery/Src/tMenuHardware.c	Sun Sep 13 20:49:58 2020 +0200
@@ -105,11 +105,11 @@
             if(stateUsed->diveSettings.ppo2sensors_deactivated)
             {
                 if(stateUsed->diveSettings.ppo2sensors_deactivated & 1)
-                    sensorStatusColor[0] = '\021';
+                    sensorStatusColor[0] = '\031';
                 if(stateUsed->diveSettings.ppo2sensors_deactivated & 2)
-                    sensorStatusColor[1] = '\021';
+                    sensorStatusColor[1] = '\031';
                 if(stateUsed->diveSettings.ppo2sensors_deactivated & 4)
-                    sensorStatusColor[2] = '\021';
+                    sensorStatusColor[2] = '\031';
             }
             textPointer += snprintf(&text[textPointer],20,"%c%01.1f  %c%01.1f  %c%01.1f\020"
                 ,sensorStatusColor[0], stateUsed->lifeData.ppO2Sensor_bar[0]