Skip to content
Snippets Groups Projects
Commit cc191b86 authored by rmackay9's avatar rmackay9
Browse files

AP_Compass - changed parameter initialisation order to remove compiler warning

parent 8fd8fd2c
No related branches found
No related tags found
No related merge requests found
......@@ -17,13 +17,13 @@ const AP_Param::GroupInfo Compass::var_info[] PROGMEM = {
//
Compass::Compass(void) :
product_id(AP_COMPASS_TYPE_UNKNOWN),
_orientation(ROTATION_NONE),
_declination (0.0),
_learn(1),
_use_for_yaw(1),
_null_enable(false),
_null_init_done(false),
_auto_declination(1),
_orientation(ROTATION_NONE)
_null_enable(false),
_null_init_done(false)
{
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment