Mercurial > public > ostc4
comparison Discovery/Inc/tStructure.h @ 776:45b8f3c2acce
Add support for a configurable compass declination in a range of -99 to 99 degrees.
This allows the displayed compass reading to be configured to take into account the compass declination (difference between the measured magnetic North direction and the actual geographical North direction) that has different values for different locations around the globe. See https://magnetic-declination.com/ for more information. (mikeller)
author | heinrichsweikamp |
---|---|
date | Thu, 18 May 2023 09:49:17 +0200 |
parents | 46c6d2380d4e |
children | 4abfb8a2a435 |
comparison
equal
deleted
inserted
replaced
775:46c6d2380d4e | 776:45b8f3c2acce |
---|---|
264 | 264 |
265 #define StMHARD2_Compass_SetCourse _MB(2,7,2,2,0) | 265 #define StMHARD2_Compass_SetCourse _MB(2,7,2,2,0) |
266 #define StMHARD2_Compass_ResetCourse _MB(2,7,2,3,0) | 266 #define StMHARD2_Compass_ResetCourse _MB(2,7,2,3,0) |
267 #define StMHARD2_Compass_Calibrate _MB(2,7,2,4,0) | 267 #define StMHARD2_Compass_Calibrate _MB(2,7,2,4,0) |
268 #define StMHARD2_Compass_Inertia _MB(2,7,2,5,0) | 268 #define StMHARD2_Compass_Inertia _MB(2,7,2,5,0) |
269 #define StMHARD2_Compass_Declination _MB(2,7,2,6,0) | |
269 | 270 |
270 //#define StMHARD2_Exit _MB(2,7,2,2,0) | 271 //#define StMHARD2_Exit _MB(2,7,2,2,0) |
271 | 272 |
272 #define StMHARD3_Sensors _MB(2,7,3,0,0) | 273 #define StMHARD3_Sensors _MB(2,7,3,0,0) |
273 #define StMHARD3_O2_Sensor1 _MB(2,7,3,1,0) | 274 #define StMHARD3_O2_Sensor1 _MB(2,7,3,1,0) |