1
0
mirror of https://github.com/DCC-EX/CommandStation-EX.git synced 2024-11-27 01:56:14 +01:00

Add include guard to defines.h

Ensure that defines.h is only process once, even if included multiple times.
This commit is contained in:
Neil McKechnie 2021-08-22 22:23:08 +01:00
parent 0875d27b0a
commit 3e50a6bdad

View File

@ -18,6 +18,9 @@
*/ */
#ifndef DEFINES_H
#define DEFINES_H
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// //
// WIFI_ON: All prereqs for running with WIFI are met // WIFI_ON: All prereqs for running with WIFI are met
@ -55,3 +58,5 @@
#if __has_include ( "myAutomation.h") && defined(BIG_RAM) #if __has_include ( "myAutomation.h") && defined(BIG_RAM)
#define RMFT_ACTIVE #define RMFT_ACTIVE
#endif #endif
#endif