diff Discovery/Inc/t7.h @ 592:f52bc70e380f

MotionCtrl - Sectorview Map sectors directly to custom views: In previous version detection of sector changes lead to a button event which triggered the change of the shown custom view. As result the views shown were depending on the angle which is present while entering focus state. The new implementation maps the primary view to the center sector and assigns the other enabled views around the center => views will always appear at the same angle value.
author Ideenmodellierer
date Sun, 03 Jan 2021 14:43:16 +0100
parents 9bb9a52d6ae5
children 3ccf13af4651
line wrap: on
line diff
--- a/Discovery/Inc/t7.h	Wed Jan 06 22:02:49 2021 +0100
+++ b/Discovery/Inc/t7.h	Sun Jan 03 14:43:16 2021 +0100
@@ -60,7 +60,7 @@
 void t7_refresh_customview_old(void);
 
 void t7_change_field(void);
-void t7_change_customview(uint8_t action);
+uint8_t t7_change_customview(uint8_t action);
 void t7_select_customview(uint8_t selectedCustomview);
 
 void t7_set_field_to_primary(void);