diff Common/Inc/settings.h @ 546:daa8d4474ba0

Added new settings for Viewport: A parameter for enabling/disabling is needed as well as the angle values used to define the viewport
author Ideenmodellierer
date Mon, 02 Nov 2020 21:15:42 +0100
parents 6960df7ddb09
children af1c3e3abd5f
line wrap: on
line diff
--- a/Common/Inc/settings.h	Tue Nov 03 12:47:51 2020 +0100
+++ b/Common/Inc/settings.h	Mon Nov 02 21:15:42 2020 +0100
@@ -70,6 +70,8 @@
 
 #define MAX_COMPASS_COMP (2u)
 
+#define MAX_VIEWPORT_MODE (2u)
+
 /*	2015 Jan 30, hw, deco and travel added for MenuEditGas
 	* can be used for buehlmann, vpm, etc. later but be carefull
 	*	with current implemenation */
@@ -228,6 +230,11 @@
 	/* new in 0xFFFF001C */
 	uint8_t compassInertia;
 	uint8_t tX_customViewPrimaryBF;
+	/* new in 0xFFFF001D */
+	uint8_t  viewPortMode;
+	uint16_t viewRoll;
+	uint16_t viewPitch;
+	uint16_t viewYaw;
 } SSettings;
 
 typedef struct