From 68f74f9fc479c9ec25fd917aea7e5d377da3191c Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Fri, 6 Oct 2023 10:44:43 +1100 Subject: [PATCH] AP_RTC: add AP_RTC_config.h --- libraries/AP_RTC/AP_RTC.h | 2 ++ libraries/AP_RTC/AP_RTC_config.h | 7 +++++++ 2 files changed, 9 insertions(+) create mode 100644 libraries/AP_RTC/AP_RTC_config.h diff --git a/libraries/AP_RTC/AP_RTC.h b/libraries/AP_RTC/AP_RTC.h index 7772011350..a5ce5273f7 100644 --- a/libraries/AP_RTC/AP_RTC.h +++ b/libraries/AP_RTC/AP_RTC.h @@ -1,5 +1,7 @@ #pragma once +#include "AP_RTC_config.h" + #include #include diff --git a/libraries/AP_RTC/AP_RTC_config.h b/libraries/AP_RTC/AP_RTC_config.h new file mode 100644 index 0000000000..caea31bccc --- /dev/null +++ b/libraries/AP_RTC/AP_RTC_config.h @@ -0,0 +1,7 @@ +#pragma once + +#include + +#ifndef AP_RTC_ENABLED +#define AP_RTC_ENABLED 1 +#endif