Browse Source

Copter: remove stale MAGNETOMETER config option from config files

This isn't used in the code any more
c415-sdk
Peter Barker 4 years ago committed by Andrew Tridgell
parent
commit
b03b3041e0
  1. 1
      ArduCopter/APM_Config.h
  2. 8
      ArduCopter/config.h

1
ArduCopter/APM_Config.h

@ -26,7 +26,6 @@ @@ -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

8
ArduCopter/config.h

@ -46,8 +46,6 @@ @@ -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 @@ @@ -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…
Cancel
Save