Mercurial > public > ostc4
comparison Discovery/Src/t7.c @ 799:1e3c12d772eb
Added CO2 mirrow instance:
Using the CO2 mirror the co2 data may be displayed on one of the three O2 slots if a slot is not in used. The physical sensor can be found in the externalsensor map.
author | Ideenmodellierer |
---|---|
date | Mon, 07 Aug 2023 20:32:42 +0200 |
parents | 4abfb8a2a435 |
children | dd7ce655db26 |
comparison
equal
deleted
inserted
replaced
798:e9eba334b942 | 799:1e3c12d772eb |
---|---|
3213 else | 3213 else |
3214 { | 3214 { |
3215 text[textpointer++] = '\025'; /* red */ | 3215 text[textpointer++] = '\025'; /* red */ |
3216 } | 3216 } |
3217 snprintf(&text[textpointer],TEXTSIZE,"\%5ldppm", stateUsed->lifeData.CO2_data.CO2_ppm); | 3217 snprintf(&text[textpointer],TEXTSIZE,"\%5ldppm", stateUsed->lifeData.CO2_data.CO2_ppm); |
3218 break; | |
3218 #endif | 3219 #endif |
3219 case LLC_Compass: | 3220 case LLC_Compass: |
3220 headerText[2] = TXT_2BYTE; | 3221 headerText[2] = TXT_2BYTE; |
3221 headerText[3] = TXT2BYTE_Compass; | 3222 headerText[3] = TXT2BYTE_Compass; |
3222 tinyHeaderFont = 1; | 3223 tinyHeaderFont = 1; |