AP_Compass - fixed compile warning

This commit is contained in:
rmackay9 2012-02-29 22:57:35 +09:00
parent 5d42439c6d
commit 9832ac879e
1 changed files with 2 additions and 2 deletions

View File

@ -15,12 +15,12 @@ const AP_Param::GroupInfo Compass::var_info[] PROGMEM = {
// their values.
//
Compass::Compass(void) :
product_id(AP_COMPASS_TYPE_UNKNOWN),
_declination (0.0),
_learn(1),
_use_for_yaw(1),
_null_enable(false),
_null_init_done(false),
product_id(AP_COMPASS_TYPE_UNKNOWN)
_null_init_done(false)
{
// Default the orientation matrix to none - will be overridden at group load time
// if an orientation has previously been saved.