Copter: support multiple simultaneous backends

This commit is contained in:
Peter Barker 2015-11-10 09:14:31 +11:00 committed by Andrew Tridgell
parent faabe0b83d
commit f57d237181
2 changed files with 5 additions and 0 deletions

View File

@ -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),

View File

@ -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
};