Mercurial > public > ostc4
comparison 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 |
comparison
equal
deleted
inserted
replaced
524:b33a8c1c72e5 | 525:1f557e5f4b5a |
---|---|
103 sensorStatusColor[1] = '\020'; | 103 sensorStatusColor[1] = '\020'; |
104 sensorStatusColor[2] = '\020'; | 104 sensorStatusColor[2] = '\020'; |
105 if(stateUsed->diveSettings.ppo2sensors_deactivated) | 105 if(stateUsed->diveSettings.ppo2sensors_deactivated) |
106 { | 106 { |
107 if(stateUsed->diveSettings.ppo2sensors_deactivated & 1) | 107 if(stateUsed->diveSettings.ppo2sensors_deactivated & 1) |
108 sensorStatusColor[0] = '\021'; | 108 sensorStatusColor[0] = '\031'; |
109 if(stateUsed->diveSettings.ppo2sensors_deactivated & 2) | 109 if(stateUsed->diveSettings.ppo2sensors_deactivated & 2) |
110 sensorStatusColor[1] = '\021'; | 110 sensorStatusColor[1] = '\031'; |
111 if(stateUsed->diveSettings.ppo2sensors_deactivated & 4) | 111 if(stateUsed->diveSettings.ppo2sensors_deactivated & 4) |
112 sensorStatusColor[2] = '\021'; | 112 sensorStatusColor[2] = '\031'; |
113 } | 113 } |
114 textPointer += snprintf(&text[textPointer],20,"%c%01.1f %c%01.1f %c%01.1f\020" | 114 textPointer += snprintf(&text[textPointer],20,"%c%01.1f %c%01.1f %c%01.1f\020" |
115 ,sensorStatusColor[0], stateUsed->lifeData.ppO2Sensor_bar[0] | 115 ,sensorStatusColor[0], stateUsed->lifeData.ppO2Sensor_bar[0] |
116 ,sensorStatusColor[1], stateUsed->lifeData.ppO2Sensor_bar[1] | 116 ,sensorStatusColor[1], stateUsed->lifeData.ppO2Sensor_bar[1] |
117 ,sensorStatusColor[2], stateUsed->lifeData.ppO2Sensor_bar[2]); | 117 ,sensorStatusColor[2], stateUsed->lifeData.ppO2Sensor_bar[2]); |