MCPcopy Create free account
hub / github.com/ArduPilot/ardupilot / init

Method init

libraries/AP_Stats/AP_Stats.cpp:62–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60}
61
62void AP_Stats::init()
63{
64 params.bootcount.set_and_save(params.bootcount+1);
65
66 // initialise our variables from parameters:
67 copy_variables_from_parameters();
68}
69
70
71void AP_Stats::flush()

Callers

nothing calls this directly

Calls 1

set_and_saveMethod · 0.45

Tested by

no test coverage detected