Mercurial > public > ostc4
comparison Discovery/Inc/t7.h @ 777:6a8cf91e5b22
This is only showing if one of the compass views is visible. It should make it possible to verify that a correct heading is set as the user can see the compass readout when pushing the button. (mikeller)
author | heinrichsweikamp |
---|---|
date | Mon, 22 May 2023 09:14:27 +0200 |
parents | 9334bdc30d60 |
children | dd7ce655db26 |
comparison
equal
deleted
inserted
replaced
775:46c6d2380d4e | 777:6a8cf91e5b22 |
---|---|
27 /* Define to prevent recursive inclusion -------------------------------------*/ | 27 /* Define to prevent recursive inclusion -------------------------------------*/ |
28 #ifndef T7_H | 28 #ifndef T7_H |
29 #define T7_H | 29 #define T7_H |
30 | 30 |
31 /* Includes ------------------------------------------------------------------*/ | 31 /* Includes ------------------------------------------------------------------*/ |
32 #include <stdbool.h> | |
33 | |
32 #include "stm32f4xx_hal.h" | 34 #include "stm32f4xx_hal.h" |
33 #include "gfx_engine.h" | 35 #include "gfx_engine.h" |
34 #include "configuration.h" | 36 #include "configuration.h" |
35 | 37 |
36 | 38 |
77 void init_t7_compass(void); | 79 void init_t7_compass(void); |
78 | 80 |
79 uint8_t t7_GetEnabled_customviews(); | 81 uint8_t t7_GetEnabled_customviews(); |
80 uint8_t t7_customview_disabled(uint8_t view); | 82 uint8_t t7_customview_disabled(uint8_t view); |
81 | 83 |
84 bool t7_isCompassShowing(void); | |
82 /* | 85 /* |
83 void t7c_refresh(uint32_t FramebufferStartAddress); | 86 void t7c_refresh(uint32_t FramebufferStartAddress); |
84 */ | 87 */ |
85 | 88 |
86 #endif /* T7_H */ | 89 #endif /* T7_H */ |