diff --git a/libraries/AP_Compass/Compass.cpp b/libraries/AP_Compass/Compass.cpp index e40e0ca095..9dfab03912 100644 --- a/libraries/AP_Compass/Compass.cpp +++ b/libraries/AP_Compass/Compass.cpp @@ -21,6 +21,7 @@ Compass::Compass(void) : _orientation(ROTATION_NONE), _null_init_done(false) { + AP_Param::setup_object_defaults(this, var_info); } // Default init method, just returns success.