comparison 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
comparison
equal deleted inserted replaced
545:e595d2d1f77f 546:daa8d4474ba0
67 #define YYMMDD 2 67 #define YYMMDD 2
68 68
69 #define PRESSURE_OFFSET_LIMIT_MBAR 50 69 #define PRESSURE_OFFSET_LIMIT_MBAR 50
70 70
71 #define MAX_COMPASS_COMP (2u) 71 #define MAX_COMPASS_COMP (2u)
72
73 #define MAX_VIEWPORT_MODE (2u)
72 74
73 /* 2015 Jan 30, hw, deco and travel added for MenuEditGas 75 /* 2015 Jan 30, hw, deco and travel added for MenuEditGas
74 * can be used for buehlmann, vpm, etc. later but be carefull 76 * can be used for buehlmann, vpm, etc. later but be carefull
75 * with current implemenation */ 77 * with current implemenation */
76 typedef struct{ 78 typedef struct{
226 /* new in 0xFFFF001B */ 228 /* new in 0xFFFF001B */
227 uint32_t cv_config_BigScreen; 229 uint32_t cv_config_BigScreen;
228 /* new in 0xFFFF001C */ 230 /* new in 0xFFFF001C */
229 uint8_t compassInertia; 231 uint8_t compassInertia;
230 uint8_t tX_customViewPrimaryBF; 232 uint8_t tX_customViewPrimaryBF;
233 /* new in 0xFFFF001D */
234 uint8_t viewPortMode;
235 uint16_t viewRoll;
236 uint16_t viewPitch;
237 uint16_t viewYaw;
231 } SSettings; 238 } SSettings;
232 239
233 typedef struct 240 typedef struct
234 { 241 {
235 // 8 bytes 242 // 8 bytes