comparison Discovery/Inc/tHome.h @ 361:b111fc4250e9 MotionDetection

Pass action to customer vie update function. By intoducing shakes the reason for calling an update may not only be the middle button. To be able to handle positiv and negativ shake events the action is now provided to the update function
author Ideenmodellierer
date Tue, 11 Jun 2019 05:30:09 +0200
parents 8466c994f3e6
children 0dbf550dc743
comparison
equal deleted inserted replaced
360:fc5e9fdcb156 361:b111fc4250e9
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