Mercurial > public > ostc4
diff 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 |
line wrap: on
line diff
--- a/Discovery/Inc/tHome.h Fri May 24 22:01:46 2019 +0200 +++ b/Discovery/Inc/tHome.h Tue Jun 11 05:30:09 2019 +0200 @@ -116,7 +116,7 @@ void tHome_sleepmode_fun(void); void set_globalState_tHome(void); void tHome_change_field_button_pressed(void); -void tHome_change_customview_button_pressed(void); +void tHome_change_customview_button_pressed(uint8_t action); void tHome_findNextStop(const uint16_t *list, uint8_t *depthOut, uint16_t *lengthOut); void tHomeDiveMenuControl(uint8_t sendAction);