From f57d237181f52a4b02ac86d3a332c445ab7e4492 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Tue, 10 Nov 2015 09:14:31 +1100 Subject: [PATCH] Copter: support multiple simultaneous backends --- ArduCopter/Parameters.cpp | 4 ++++ ArduCopter/Parameters.h | 1 + 2 files changed, 5 insertions(+) diff --git a/ArduCopter/Parameters.cpp b/ArduCopter/Parameters.cpp index 719b9bd6a1..0b8b21399d 100644 --- a/ArduCopter/Parameters.cpp +++ b/ArduCopter/Parameters.cpp @@ -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), diff --git a/ArduCopter/Parameters.h b/ArduCopter/Parameters.h index 15700e1e98..d2aea10550 100644 --- a/ArduCopter/Parameters.h +++ b/ArduCopter/Parameters.h @@ -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 };