From 412e863ccdca1f4d02d931f876ca718503085493 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 13992983a487d..2b5343a0876cb 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; }