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 dcef88c3ba
commit 5ee15da73b
2 changed files with 4 additions and 4 deletions

View File

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

View File

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