From b071e53ceb6d2530fa2de28019165fd7534a378f Mon Sep 17 00:00:00 2001 From: paidforby Date: Thu, 9 Jul 2020 17:15:20 -0400 Subject: [PATCH] make ARDUINO_LORA default, related to #15 --- src/Layer1_LoRa.h | 6 ++++++ src/LoRaLayer2.h | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/src/Layer1_LoRa.h b/src/Layer1_LoRa.h index 95c80c8..e0bb6ec 100644 --- a/src/Layer1_LoRa.h +++ b/src/Layer1_LoRa.h @@ -1,3 +1,9 @@ +#ifndef SIM +#ifndef RL_SX1276 +#define ARDUINO_LORA +#endif +#endif + #ifndef LAYER1_H #define LAYER1_H diff --git a/src/LoRaLayer2.h b/src/LoRaLayer2.h index 29884d0..a26d64b 100644 --- a/src/LoRaLayer2.h +++ b/src/LoRaLayer2.h @@ -1,3 +1,9 @@ +#ifndef SIM +#ifndef RL_SX1276 +#define ARDUINO_LORA +#endif +#endif + #ifndef LORALAYER2_H #define LORALAYER2_H