From 3e50a6bdad8b2a2515013bcc375ed70410ada5c7 Mon Sep 17 00:00:00 2001 From: Neil McKechnie Date: Sun, 22 Aug 2021 22:23:08 +0100 Subject: [PATCH] Add include guard to defines.h Ensure that defines.h is only process once, even if included multiple times. --- defines.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/defines.h b/defines.h index d52ae4a..1b1d3eb 100644 --- a/defines.h +++ b/defines.h @@ -18,6 +18,9 @@ */ +#ifndef DEFINES_H +#define DEFINES_H + //////////////////////////////////////////////////////////////////////////////// // // WIFI_ON: All prereqs for running with WIFI are met @@ -55,3 +58,5 @@ #if __has_include ( "myAutomation.h") && defined(BIG_RAM) #define RMFT_ACTIVE #endif + +#endif \ No newline at end of file