AP_Stats: initialise parameter defaults

This commit is contained in:
bugobliterator 2023-11-23 11:17:53 +11:00 committed by Andrew Tridgell
parent 6e124fda8f
commit 0f18844c7a
1 changed files with 1 additions and 0 deletions

View File

@ -47,6 +47,7 @@ AP_Stats *AP_Stats::_singleton;
// constructor // constructor
AP_Stats::AP_Stats(void) AP_Stats::AP_Stats(void)
{ {
AP_Param::setup_object_defaults(this, var_info);
_singleton = this; _singleton = this;
} }