From 5775d099144efed62184de0d99530290b053d31d Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Wed, 20 May 2020 21:20:17 +1000 Subject: [PATCH] Tracker: add AP_Logger parameter tree --- AntennaTracker/Parameters.cpp | 4 ++++ AntennaTracker/Parameters.h | 2 ++ 2 files changed, 6 insertions(+) diff --git a/AntennaTracker/Parameters.cpp b/AntennaTracker/Parameters.cpp index f4c32ae4f3..e09d08391d 100644 --- a/AntennaTracker/Parameters.cpp +++ b/AntennaTracker/Parameters.cpp @@ -481,6 +481,10 @@ const AP_Param::Info Tracker::var_info[] = { // @Path: ../libraries/AP_Vehicle/AP_Vehicle.cpp { AP_PARAM_GROUP, "", Parameters::k_param_vehicle, (const void *)&tracker, {group_info : AP_Vehicle::var_info} }, + // @Group: LOG + // @Path: ../libraries/AP_Logger/AP_Logger.cpp + GOBJECT(logger, "LOG", AP_Logger), + AP_VAREND }; diff --git a/AntennaTracker/Parameters.h b/AntennaTracker/Parameters.h index e8c11bb2e1..7d81d498b3 100644 --- a/AntennaTracker/Parameters.h +++ b/AntennaTracker/Parameters.h @@ -124,6 +124,8 @@ public: k_param_initial_mode, k_param_disarm_pwm, + k_param_logger = 253, // 253 - Logging Group + k_param_vehicle = 257, // vehicle common block of parameters };