diff Discovery/Inc/t7.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 5f11787b4f42
children 210bffc496a3
line wrap: on
line diff
--- a/Discovery/Inc/t7.h	Fri May 24 22:01:46 2019 +0200
+++ b/Discovery/Inc/t7.h	Tue Jun 11 05:30:09 2019 +0200
@@ -40,7 +40,7 @@
 void t7_refresh_customview_old(void);
 
 void t7_change_field(void);
-void t7_change_customview(void);
+void t7_change_customview(uint8_t action);
 
 void t7_set_field_to_primary(void);
 void t7_set_customview_to_primary(void);