diff Discovery/Inc/t7.h @ 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 adb18fe92737
children 9bb9a52d6ae5
line wrap: on
line diff
--- a/Discovery/Inc/t7.h	Thu Mar 05 22:27:55 2020 +0100
+++ b/Discovery/Inc/t7.h	Thu Mar 05 22:31:50 2020 +0100
@@ -31,6 +31,7 @@
 /* Includes ------------------------------------------------------------------*/
 #include "stm32f4xx_hal.h"
 #include "gfx_engine.h"
+#include "configuration.h"
 
 
 typedef enum
@@ -44,7 +45,9 @@
 		LLC_FutureTTS,
 		LLC_CNS,
 		LLC_GF,
+#ifdef ENABLE_BOTTLE_SENSOR
 		LCC_BottleBar,
+#endif
 		LLC_END
 
 } customview_llc_t;