mirror of
https://github.com/DCC-EX/CommandStation-EX.git
synced 2024-12-23 12:51:24 +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:
parent
59d77f2362
commit
411a6b1130
@ -13,15 +13,7 @@
|
||||
////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#include "config.h"
|
||||
#include "defines.h"
|
||||
#include "DCC.h"
|
||||
#include "DIAG.h"
|
||||
#include "DCCEXParser.h"
|
||||
#include "version.h"
|
||||
#include "WifiInterface.h"
|
||||
#include <Arduino.h>
|
||||
|
||||
|
||||
#include "DCCEX.h"
|
||||
|
||||
|
||||
////////////////////////////////////////////////////////////////
|
||||
|
15
DCCEX.h
Normal file
15
DCCEX.h
Normal 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
|
Loading…
Reference in New Issue
Block a user