diff Discovery/Src/tMenuXtra.c @ 827:ffb1036c27c2 Evo_2_23

Moved CO2 Menu from Xtra to Hardware: The first CO2 sensor menu implementation was placed within the Xtra menu. In the new version the CO2 options may be accessed using the sensor overview menu of the Hardware page. With this change it is no longer necessary to take care for compile switches in the menus because the menu will only be shown if a CO2 sensor is detected.
author Ideenmodellierer
date Sun, 05 Nov 2023 20:19:08 +0100
parents c4ee952b9425
children 17d9d6eddd8d
line wrap: on
line diff
--- a/Discovery/Src/tMenuXtra.c	Wed Oct 11 17:49:19 2023 +0200
+++ b/Discovery/Src/tMenuXtra.c	Sun Nov 05 20:19:08 2023 +0100
@@ -200,12 +200,6 @@
              }
         }
 #endif
-#ifdef ENABLE_CO2_SUPPORT
-        if((line == 0) || (line == 4))
-         {
-             textPointer += snprintf(&text[textPointer], 60, "%c", TXT_CO2Sensor);
-         }
-#endif
     }
     return StMXTRA;
 }