1
0
mirror of https://github.com/DCC-EX/CommandStation-EX.git synced 2024-11-23 08:06:13 +01:00

Move bulk includes out of .ino

I left config.h in the .ino so it shows the user that this will be necessary.
This commit is contained in:
Asbelos 2020-09-26 08:49:51 +01:00
parent 59d77f2362
commit 411a6b1130
2 changed files with 16 additions and 9 deletions

View File

@ -13,15 +13,7 @@
//////////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////////
#include "config.h" #include "config.h"
#include "defines.h" #include "DCCEX.h"
#include "DCC.h"
#include "DIAG.h"
#include "DCCEXParser.h"
#include "version.h"
#include "WifiInterface.h"
#include <Arduino.h>
//////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////

15
DCCEX.h Normal file
View File

@ -0,0 +1,15 @@
// This include is intended to visually simplify the .ino for the end users.
// If there were any #ifdefs required they are much better handled in here.
#ifndef DCCEX_h
#define DCCEX_h
#include "defines.h"
#include "DCC.h"
#include "DIAG.h"
#include "DCCEXParser.h"
#include "version.h"
#include "WifiInterface.h"
#include <Arduino.h>
#endif