Planner/defines.h: Updated the enumeration value for APPROACH so as not to disturb the order of the universe.

This commit is contained in:
Adam M Rivera 2012-04-18 10:32:01 -05:00
parent af5747c088
commit a3842734a9
2 changed files with 4 additions and 4 deletions

View File

@ -129,8 +129,8 @@
#define CIRCLE 7 // AUTO control #define CIRCLE 7 // AUTO control
#define POSITION 8 // AUTO control #define POSITION 8 // AUTO control
#define LAND 9 // AUTO control #define LAND 9 // AUTO control
#define APPROACH 10 // AUTO control #define OF_LOITER 10 // Hold a single location using optical flow sensor
#define OF_LOITER 11 // Hold a single location using optical flow sensor #define APPROACH 11 // AUTO control
#define NUM_MODES 12 #define NUM_MODES 12
#define SIMPLE_1 1 #define SIMPLE_1 1

View File

@ -340,9 +340,9 @@ namespace ArdupilotMega
POSITION = 8, POSITION = 8,
[DisplayText("Land")] [DisplayText("Land")]
LAND = 9, // AUTO control LAND = 9, // AUTO control
OF_LOITER = 10,
[Private(true)] [Private(true)]
APPROACH = 10, APPROACH = 11
OF_LOITER = 11
} }
public enum ac2ch7modes public enum ac2ch7modes