diff --git a/ArduCopter/defines.h b/ArduCopter/defines.h index 3f4487609a..70ee4fb716 100644 --- a/ArduCopter/defines.h +++ b/ArduCopter/defines.h @@ -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 diff --git a/Tools/ArdupilotMegaPlanner/Common.cs b/Tools/ArdupilotMegaPlanner/Common.cs index a18051f967..0967c9ccec 100644 --- a/Tools/ArdupilotMegaPlanner/Common.cs +++ b/Tools/ArdupilotMegaPlanner/Common.cs @@ -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