From 3bea6229ad6b15e9e53b61a959cd4e9dba32ae3d Mon Sep 17 00:00:00 2001 From: "Dr.-Ing. Amilcar Do Carmo Lucas" Date: Thu, 8 Jun 2017 10:26:19 +0200 Subject: [PATCH] AP_Stats: Improve reset documentation (NFC) --- libraries/AP_Stats/AP_Stats.cpp | 4 ++-- libraries/AP_Stats/AP_Stats.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/libraries/AP_Stats/AP_Stats.cpp b/libraries/AP_Stats/AP_Stats.cpp index a6a159f2c0..9ccaa99a22 100644 --- a/libraries/AP_Stats/AP_Stats.cpp +++ b/libraries/AP_Stats/AP_Stats.cpp @@ -32,8 +32,8 @@ const AP_Param::GroupInfo AP_Stats::var_info[] = { AP_GROUPINFO("_RUNTIME", 2, AP_Stats, params.runtime, 0), // @Param: _RESET - // @DisplayName: Reset time - // @Description: Seconds since January 1st 2016 (Unix epoch+1451606400) since reset (set to 0 to reset statistics) + // @DisplayName: Statistics Reset Time + // @Description: Seconds since January 1st 2016 (Unix epoch+1451606400) since statistics reset (set to 0 to reset statistics) // @Units: s // @ReadOnly: True // @User: Standard diff --git a/libraries/AP_Stats/AP_Stats.h b/libraries/AP_Stats/AP_Stats.h index 94cc232610..d940ea46c0 100644 --- a/libraries/AP_Stats/AP_Stats.h +++ b/libraries/AP_Stats/AP_Stats.h @@ -17,7 +17,7 @@ public: // init() to set initial values from the parameters! uint32_t flttime; // seconds in flight (or driving) uint32_t runtime; // total wallclock time spent running ArduPilot (seconds) - uint32_t reset; // last time parameters were reset + uint32_t reset; // last time AP_Stats parameters were reset (in seconds since AP_Stats Jan 1st 2016) uint32_t flttime_boot; // seconds in flight (or driving), at boot void init();