From ca55834051db9198c1aa16bb4bf541edddbf0297 Mon Sep 17 00:00:00 2001 From: Neil McKechnie Date: Mon, 23 Aug 2021 10:46:12 +0100 Subject: [PATCH] Update defines.h Add #include config.h (on which defines.h is reliant). --- defines.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/defines.h b/defines.h index 1b1d3eb..95102f9 100644 --- a/defines.h +++ b/defines.h @@ -21,6 +21,13 @@ #ifndef DEFINES_H #define DEFINES_H +// defines.h relies on macros defined in config.h +#if __has_include ( "config.h") + #include "config.h" +#else + #include "config.example.h" +#endif + //////////////////////////////////////////////////////////////////////////////// // // WIFI_ON: All prereqs for running with WIFI are met