Browse Source

Sub: Remove ambiguous #define MAGNETOMETER

master
Jacob Walser 8 years ago
parent
commit
d05454ec36
  1. 2
      ArduSub/Parameters.cpp
  2. 2
      ArduSub/config.h

2
ArduSub/Parameters.cpp

@ -177,7 +177,7 @@ const AP_Param::Info Sub::var_info[] = { @@ -177,7 +177,7 @@ const AP_Param::Info Sub::var_info[] = {
// @Description: Setting this to Enabled(1) will enable the compass. Setting this to Disabled(0) will disable the compass
// @Values: 0:Disabled,1:Enabled
// @User: Standard
GSCALAR(compass_enabled, "MAG_ENABLE", MAGNETOMETER),
GSCALAR(compass_enabled, "MAG_ENABLE", ENABLED),
// @Param: WP_YAW_BEHAVIOR
// @DisplayName: Yaw behaviour during missions

2
ArduSub/config.h

@ -38,8 +38,6 @@ @@ -38,8 +38,6 @@
#error CONFIG_HAL_BOARD must be defined to build ArduSub
#endif
#define MAGNETOMETER ENABLED
// run at 400Hz on all systems
# define MAIN_LOOP_RATE 400
# define MAIN_LOOP_SECONDS 0.0025f

Loading…
Cancel
Save