AP_Declination: Added new config value to allow the user to have the declination overwritten on every 3D fix.
Signed-off-by: Andrew Tridgell <tridge@samba.org>
This commit is contained in:
parent
fe8c896d69
commit
2524f9c8df
@ -90,3 +90,5 @@
|
||||
// #define MOT_7 CH_7
|
||||
// #define MOT_8 CH_8
|
||||
|
||||
// Enabling this will use the GPS lat/long coordinate to get the compass declination
|
||||
//#define AUTOMATIC_DECLINATION ENABLED
|
@ -425,6 +425,10 @@
|
||||
# define GROUND_START_DELAY 3
|
||||
#endif
|
||||
|
||||
#ifndef AUTOMATIC_DECLINATION
|
||||
#define AUTOMATIC_DECLINATION DISABLED
|
||||
#endif
|
||||
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
|
@ -39,3 +39,6 @@
|
||||
#define AIRSPEED_CRUISE 25
|
||||
#define THROTTLE_FAILSAFE ENABLED
|
||||
*/
|
||||
|
||||
// Enabling this will use the GPS lat/long coordinate to get the compass declination
|
||||
//#define AUTOMATIC_DECLINATION ENABLED
|
||||
|
@ -418,6 +418,9 @@
|
||||
# define GROUND_START_DELAY 0
|
||||
#endif
|
||||
|
||||
#ifndef AUTOMATIC_DECLINATION
|
||||
#define AUTOMATIC_DECLINATION DISABLED
|
||||
#endif
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
// ENABLE_AIR_START
|
||||
|
Loading…
Reference in New Issue
Block a user