From 6756c295dfe5d47f35a0fa179d14ea9577f991ae Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Mon, 15 Aug 2022 08:18:01 +1000 Subject: [PATCH] AP_Mission: add AP_Mission_config.h --- libraries/AP_Mission/AP_Mission.h | 6 +----- libraries/AP_Mission/AP_Mission_config.h | 5 +++++ 2 files changed, 6 insertions(+), 5 deletions(-) create mode 100644 libraries/AP_Mission/AP_Mission_config.h diff --git a/libraries/AP_Mission/AP_Mission.h b/libraries/AP_Mission/AP_Mission.h index 254300e822..7c93a58853 100644 --- a/libraries/AP_Mission/AP_Mission.h +++ b/libraries/AP_Mission/AP_Mission.h @@ -12,11 +12,7 @@ */ #pragma once -#include - -#ifndef AP_MISSION_ENABLED -#define AP_MISSION_ENABLED 1 -#endif +#include "AP_Mission_config.h" #include #include diff --git a/libraries/AP_Mission/AP_Mission_config.h b/libraries/AP_Mission/AP_Mission_config.h new file mode 100644 index 0000000000..94be328bcf --- /dev/null +++ b/libraries/AP_Mission/AP_Mission_config.h @@ -0,0 +1,5 @@ +#include + +#ifndef AP_MISSION_ENABLED +#define AP_MISSION_ENABLED 1 +#endif