From 9b3d2309d8ee730ec2c626fd2e71a8579e6e120a Mon Sep 17 00:00:00 2001 From: Verkehrsrot Date: Thu, 7 Mar 2019 00:01:51 +0100 Subject: [PATCH] includes --- .gitignore | 3 +-- include/lorawan.h | 2 ++ include/rcommand.h | 2 ++ 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index aa33e14f..4d3180bd 100644 --- a/.gitignore +++ b/.gitignore @@ -11,5 +11,4 @@ .gcc-flags.json src/loraconf.h src/ota.conf -src/DBtimesync.cpp -include/DBtimesync.h \ No newline at end of file +src/DBtimesync.cpp \ No newline at end of file diff --git a/include/lorawan.h b/include/lorawan.h index 86f8e852..3726f030 100644 --- a/include/lorawan.h +++ b/include/lorawan.h @@ -4,7 +4,9 @@ #include "globals.h" #include "rcommand.h" #include "timekeeper.h" +#ifdef DBTIMESYNC #include "DBtimesync.h" +#endif // LMIC-Arduino LoRaWAN Stack #include diff --git a/include/rcommand.h b/include/rcommand.h index dea6ce99..68227755 100644 --- a/include/rcommand.h +++ b/include/rcommand.h @@ -9,7 +9,9 @@ #include #include "cyclic.h" #include "timekeeper.h" +#ifdef DBTIMESYNC #include "DBtimesync.h" +#endif // table of remote commands and assigned functions typedef struct {