1
0
mirror of https://github.com/DCC-EX/CommandStation-EX.git synced 2024-12-24 05:11:24 +01:00

Update defines.h

Add #include config.h (on which defines.h is reliant).
This commit is contained in:
Neil McKechnie 2021-08-23 10:46:12 +01:00
parent 2829716ea6
commit ca55834051

View File

@ -21,6 +21,13 @@
#ifndef DEFINES_H #ifndef DEFINES_H
#define 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 // WIFI_ON: All prereqs for running with WIFI are met