From 31e9f0e12a570074b9de69114c2be6a18d473d94 Mon Sep 17 00:00:00 2001 From: bugobliterator Date: Thu, 23 Nov 2023 11:17:53 +1100 Subject: [PATCH] AP_Stats: initialise parameter defaults --- libraries/AP_Stats/AP_Stats.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/libraries/AP_Stats/AP_Stats.cpp b/libraries/AP_Stats/AP_Stats.cpp index 9c82a0e32e..e77610f5b1 100644 --- a/libraries/AP_Stats/AP_Stats.cpp +++ b/libraries/AP_Stats/AP_Stats.cpp @@ -47,6 +47,7 @@ AP_Stats *AP_Stats::_singleton; // constructor AP_Stats::AP_Stats(void) { + AP_Param::setup_object_defaults(this, var_info); _singleton = this; }