From 9832ac879e44e2e5cd5d3466a4df2efb146f5f07 Mon Sep 17 00:00:00 2001 From: rmackay9 Date: Wed, 29 Feb 2012 22:57:35 +0900 Subject: [PATCH] AP_Compass - fixed compile warning --- libraries/AP_Compass/Compass.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/AP_Compass/Compass.cpp b/libraries/AP_Compass/Compass.cpp index ec5a0470ce..4e06ac6d12 100644 --- a/libraries/AP_Compass/Compass.cpp +++ b/libraries/AP_Compass/Compass.cpp @@ -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.