AP_Stats: initialise parameter defaults

This commit is contained in:
bugobliterator 2023-11-23 11:17:53 +11:00 committed by Peter Barker
parent 8dedecc283
commit 92a6e1ff57
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;
} }