Skip to content

Commit

Permalink
AP_Stats: initialise parameter defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
bugobliterator committed Nov 23, 2023
1 parent 2d465a5 commit 412e863
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libraries/AP_Stats/AP_Stats.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 412e863

Please sign in to comment.