Tracker: fix initialisation of nav_status

Thanks to Jakub Oller for finding the cause.  This is a slight
modification upon his fix.
This commit is contained in:
Randy Mackay 2015-08-01 19:57:52 +09:00
parent 9067abc037
commit b377d4deac

View File

@ -165,7 +165,7 @@ private:
bool need_altitude_calibration : 1;// true if tracker altitude has not been determined (true after startup)
bool scan_reverse_pitch : 1;// controls direction of pitch movement in SCAN mode
bool scan_reverse_yaw : 1;// controls direction of yaw movement in SCAN mode
} nav_status = {0.0f, 0.0f, 0.0f, 0.0f, false, false, true, false, false};
} nav_status = {0.0f, 0.0f, 0.0f, 0.0f, 0.0f, false, false, true, false, false};
// Servo state
struct {