comparison Discovery/Inc/tHome.h @ 387:0dbb74be972f

Merged in Ideenmodellierer/ostc4/MotionDetection (pull request #34) MotionDetection
author heinrichsweikamp <bitbucket@heinrichsweikamp.com>
date Sun, 24 Nov 2019 15:46:58 +0000
parents 39c147e47c1c
children b560e474e319
comparison
equal deleted inserted replaced
358:c6a084d1433f 387:0dbb74be972f
81 CVIEW_T3_ApnoeSurfaceInfo, 81 CVIEW_T3_ApnoeSurfaceInfo,
82 CVIEW_T3_END 82 CVIEW_T3_END
83 }; 83 };
84 84
85 // for custom view switch on/off 161122 hw 85 // for custom view switch on/off 161122 hw
86 extern const uint8_t cv_changelist[6]; 86 extern const uint8_t cv_changelist[];
87 #define CHECK_BIT_THOME(var,pos) (((var)>>(pos)) & 1) 87 #define CHECK_BIT_THOME(var,pos) (((var)>>(pos)) & 1)
88 88
89 typedef struct 89 typedef struct
90 { 90 {
91 uint16_t Hours; 91 uint16_t Hours;
114 void tHome_init(void); 114 void tHome_init(void);
115 void tHome_refresh(void); 115 void tHome_refresh(void);
116 void tHome_sleepmode_fun(void); 116 void tHome_sleepmode_fun(void);
117 void set_globalState_tHome(void); 117 void set_globalState_tHome(void);
118 void tHome_change_field_button_pressed(void); 118 void tHome_change_field_button_pressed(void);
119 void tHome_change_customview_button_pressed(void); 119 void tHome_change_customview_button_pressed(uint8_t action);
120 120
121 void tHome_findNextStop(const uint16_t *list, uint8_t *depthOut, uint16_t *lengthOut); 121 void tHome_findNextStop(const uint16_t *list, uint8_t *depthOut, uint16_t *lengthOut);
122 void tHomeDiveMenuControl(uint8_t sendAction); 122 void tHomeDiveMenuControl(uint8_t sendAction);
123 void tHome_tick(void); 123 void tHome_tick(void);
124 124
132 void t3_basics_show_customview_warnings(GFX_DrawCfgWindow* tXc1); 132 void t3_basics_show_customview_warnings(GFX_DrawCfgWindow* tXc1);
133 void t3_basics_refresh_customview(float depth, uint8_t tX_selection_customview, GFX_DrawCfgScreen *tXscreen, GFX_DrawCfgWindow* tXc1, GFX_DrawCfgWindow* tXc2, uint8_t mode); 133 void t3_basics_refresh_customview(float depth, uint8_t tX_selection_customview, GFX_DrawCfgScreen *tXscreen, GFX_DrawCfgWindow* tXc1, GFX_DrawCfgWindow* tXc2, uint8_t mode);
134 void t3_basics_refresh_apnoeRight(float depth, uint8_t tX_selection_customview, GFX_DrawCfgScreen *tXscreen, GFX_DrawCfgWindow* tXc1, GFX_DrawCfgWindow* tXc2, uint8_t mode); 134 void t3_basics_refresh_apnoeRight(float depth, uint8_t tX_selection_customview, GFX_DrawCfgScreen *tXscreen, GFX_DrawCfgWindow* tXc1, GFX_DrawCfgWindow* tXc2, uint8_t mode);
135 //void _findNextStop(const uint16_t *list, uint8_t *depthOut, uint16_t *lengthOut); 135 //void _findNextStop(const uint16_t *list, uint8_t *depthOut, uint16_t *lengthOut);
136 void t3_basics_colorscheme_mod(char *text); 136 void t3_basics_colorscheme_mod(char *text);
137 void t3_basics_change_customview(uint8_t *tX_selection_customview, const uint8_t *tX_customviews); 137 void t3_basics_change_customview(uint8_t *tX_selection_customview, const uint8_t *tX_customviews, uint8_t action);
138 138
139 uint8_t tHome_show_lost_connection_count(GFX_DrawCfgScreen *ScreenToWriteOn); 139 uint8_t tHome_show_lost_connection_count(GFX_DrawCfgScreen *ScreenToWriteOn);
140 140
141 #endif /* THOME_H */ 141 #endif /* THOME_H */