diff --git a/ArduSub/Sub.h b/ArduSub/Sub.h index 7617dd71e1..78dc36dfed 100644 --- a/ArduSub/Sub.h +++ b/ArduSub/Sub.h @@ -47,7 +47,6 @@ #include #include #include // Mission command library -#include // Rally point library #include // PID library #include // PID library (2-axis) #include // P library @@ -107,6 +106,10 @@ #include // Stop at fence library #endif +#if AC_RALLY == ENABLED +#include // Rally point library +#endif + // Local modules #include "Parameters.h"