comparison 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
comparison
equal deleted inserted replaced
440:4787cd767a9d 442:adb18fe92737
30 30
31 /* Includes ------------------------------------------------------------------*/ 31 /* Includes ------------------------------------------------------------------*/
32 #include "stm32f4xx_hal.h" 32 #include "stm32f4xx_hal.h"
33 #include "gfx_engine.h" 33 #include "gfx_engine.h"
34 34
35
36 typedef enum
37 {
38 LLC_Empty = 0,
39 LLC_Temperature,
40 LLC_AverageDepth,
41 LLC_ppO2,
42 LLC_Stopwatch,
43 LLC_Ceiling,
44 LLC_FutureTTS,
45 LLC_CNS,
46 LLC_GF,
47 LCC_BottleBar,
48 LLC_END
49
50 } customview_llc_t;
51
35 /* Exported functions --------------------------------------------------------*/ 52 /* Exported functions --------------------------------------------------------*/
36 void t7_init(void); 53 void t7_init(void);
37 54
38 void t7_refresh(void); 55 void t7_refresh(void);
39 void t7_refresh_sleepmode_fun(void); 56 void t7_refresh_sleepmode_fun(void);