From 5d4b8d991301583ce374d327a7de62aee6c796dc Mon Sep 17 00:00:00 2001 From: jasonshort Date: Sun, 3 Apr 2011 04:44:00 +0000 Subject: [PATCH] git-svn-id: https://arducopter.googlecode.com/svn/trunk@1840 f9c3cf11-9bcb-44bc-f272-b75c42450872 --- ArduCopterMega/ArduCopterMega.pde | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ArduCopterMega/ArduCopterMega.pde b/ArduCopterMega/ArduCopterMega.pde index 8f62f21890..563d8e1d13 100644 --- a/ArduCopterMega/ArduCopterMega.pde +++ b/ArduCopterMega/ArduCopterMega.pde @@ -264,7 +264,8 @@ float cos_pitch_x = 1; float cos_yaw_x = 1; float sin_pitch_y, sin_yaw_y, sin_roll_y; float sin_nav_y, cos_nav_x; // used in calc_waypoint_nav -long initial_simple_bearing = -1; // used for Simple mode +bool simple_bearing_is_set = false; +long initial_simple_bearing; // used for Simple mode // Airspeed // --------