diff Discovery/Src/tMenuEditSystem.c @ 446:f1257a32f2d4 minor_improvments

Introduced configuration header for variant managment: At the moment several defines are distributed across the code allowing special SW builds (e.g. logging simulated dives). To make these options more transparent and easier to configurate a separate header has been added. With this header an new option for an optical pressure sensor was introduced.
author ideenmodellierer
date Thu, 05 Mar 2020 22:31:50 +0100
parents f2c4f5c90540
children aa1d71875e25
line wrap: on
line diff
--- a/Discovery/Src/tMenuEditSystem.c	Thu Mar 05 22:27:55 2020 +0100
+++ b/Discovery/Src/tMenuEditSystem.c	Thu Mar 05 22:31:50 2020 +0100
@@ -906,11 +906,13 @@
     case LLC_GF:
     	text[4] = TXT_ActualGradient;
     	break;
+#ifdef ENABLE_BOTTLE_SENSOR
     case LCC_BottleBar:
     	text[4] = TXT_AtemGasVorrat;
     	    	break;
+#endif
     /* none */
-    case 0:
+    case LLC_Empty:
         text[4] = '-';
         break;
     default: