Browse Source

Copter: support multiple simultaneous backends

mission-4.1.18
Peter Barker 9 years ago committed by Andrew Tridgell
parent
commit
f57d237181
  1. 4
      ArduCopter/Parameters.cpp
  2. 1
      ArduCopter/Parameters.h

4
ArduCopter/Parameters.cpp

@ -952,6 +952,10 @@ const AP_Param::Info Copter::var_info[] = { @@ -952,6 +952,10 @@ const AP_Param::Info Copter::var_info[] = {
GOBJECT(camera_mount, "MNT", AP_Mount),
#endif
// @Group: LOG
// @Path: ../libraries/DataFlash/DataFlash.cpp
GOBJECT(DataFlash, "LOG", DataFlash_Class),
// @Group: BATT
// @Path: ../libraries/AP_BattMonitor/AP_BattMonitor.cpp
GOBJECT(battery, "BATT", AP_BattMonitor),

1
ArduCopter/Parameters.h

@ -356,6 +356,7 @@ public: @@ -356,6 +356,7 @@ public:
k_param_rpm_sensor,
k_param_autotune_min_d, // 251
k_param_pi_precland, // 252
k_param_DataFlash = 253, // 253 - Logging Group
// 254,255: reserved
};

Loading…
Cancel
Save