mirror of https://github.com/ArduPilot/ardupilot
Copter: remove stale MAGNETOMETER config option from config files
This isn't used in the code any more
This commit is contained in:
parent
cfcd17f0d1
commit
b03b3041e0
|
@ -26,7 +26,6 @@
|
|||
//#define WINCH_ENABLED DISABLED // disable winch support
|
||||
//#define GRIPPER_ENABLED DISABLED // disable gripper support
|
||||
//#define RPM_ENABLED DISABLED // disable rotations per minute sensor support
|
||||
//#define MAGNETOMETER DISABLED // disable magnetometer support
|
||||
//#define STATS_ENABLED DISABLED // disable statistics support
|
||||
//#define MODE_ACRO_ENABLED DISABLED // disable acrobatic mode support
|
||||
//#define MODE_AUTO_ENABLED DISABLED // disable auto mode support
|
||||
|
|
|
@ -46,8 +46,6 @@
|
|||
#define HIL_MODE HIL_MODE_DISABLED
|
||||
#endif
|
||||
|
||||
#define MAGNETOMETER ENABLED
|
||||
|
||||
#ifndef ARMING_DELAY_SEC
|
||||
# define ARMING_DELAY_SEC 2.0f
|
||||
#endif
|
||||
|
@ -191,12 +189,6 @@
|
|||
# define EKF_ORIGIN_MAX_DIST_M 50000 // EKF origin and waypoints (including home) must be within 50km
|
||||
#endif
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
// MAGNETOMETER
|
||||
#ifndef MAGNETOMETER
|
||||
# define MAGNETOMETER ENABLED
|
||||
#endif
|
||||
|
||||
#ifndef COMPASS_CAL_STICK_GESTURE_TIME
|
||||
#define COMPASS_CAL_STICK_GESTURE_TIME 2.0f // 2 seconds
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue