diff Discovery/Inc/t7.h @ 442:adb18fe92737 minor_improvments

Introduced enum for lower left corner view selection: Enums allow changes in view configuration without danger of index inconsistencies
author ideenmodellierer
date Sat, 29 Feb 2020 22:25:20 +0100
parents 210bffc496a3
children f1257a32f2d4
line wrap: on
line diff
--- a/Discovery/Inc/t7.h	Thu Feb 27 09:13:25 2020 +0100
+++ b/Discovery/Inc/t7.h	Sat Feb 29 22:25:20 2020 +0100
@@ -32,6 +32,23 @@
 #include "stm32f4xx_hal.h"
 #include "gfx_engine.h"
 
+
+typedef enum
+{
+		LLC_Empty = 0,
+		LLC_Temperature,
+		LLC_AverageDepth,
+		LLC_ppO2,
+		LLC_Stopwatch,
+		LLC_Ceiling,
+		LLC_FutureTTS,
+		LLC_CNS,
+		LLC_GF,
+		LCC_BottleBar,
+		LLC_END
+
+} customview_llc_t;
+
 /* Exported functions --------------------------------------------------------*/
 void t7_init(void);