AP_Compass - changed parameter initialisation order to remove compiler warning
This commit is contained in:
parent
871563b499
commit
ef43da9b92
@ -17,13 +17,13 @@ const AP_Param::GroupInfo Compass::var_info[] PROGMEM = {
|
|||||||
//
|
//
|
||||||
Compass::Compass(void) :
|
Compass::Compass(void) :
|
||||||
product_id(AP_COMPASS_TYPE_UNKNOWN),
|
product_id(AP_COMPASS_TYPE_UNKNOWN),
|
||||||
|
_orientation(ROTATION_NONE),
|
||||||
_declination (0.0),
|
_declination (0.0),
|
||||||
_learn(1),
|
_learn(1),
|
||||||
_use_for_yaw(1),
|
_use_for_yaw(1),
|
||||||
_null_enable(false),
|
|
||||||
_null_init_done(false),
|
|
||||||
_auto_declination(1),
|
_auto_declination(1),
|
||||||
_orientation(ROTATION_NONE)
|
_null_enable(false),
|
||||||
|
_null_init_done(false)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user