From 7d501594c27eb10449a6a77c502234e564f9125c Mon Sep 17 00:00:00 2001 From: Dave Akerman Date: Mon, 16 Apr 2018 14:31:57 +0000 Subject: [PATCH] V1.8.19 - Disabled DIO5 startup check --- README.md | 5 +++++ gateway.c | 14 +++++++------- 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 4f5f8c1..404821b 100644 --- a/README.md +++ b/README.md @@ -228,6 +228,11 @@ Change History ============== +16/04/2018 - V1.8.19 +-------------------- + + Disabled DIO5 check for now as it sometimes disabled use of a working device. + 11/04/2018 - V1.8.18 -------------------- diff --git a/gateway.c b/gateway.c index e854ad6..d11e7df 100644 --- a/gateway.c +++ b/gateway.c @@ -38,7 +38,7 @@ #include "listener.h" #include "udpclient.h" -#define VERSION "V1.8.18" +#define VERSION "V1.8.19" bool run = TRUE; // RFM98 @@ -1365,12 +1365,12 @@ void setupRFM98( int Channel ) return; } - if( digitalRead( Config.LoRaDevices[Channel].DIO5 ) == 0 ) - { - LogMessage("Error: DIO5 pin is misconfigured on Channel %d, Disabling.\n", Channel); - Config.LoRaDevices[Channel].InUse = 0; - return; - } + // if( digitalRead( Config.LoRaDevices[Channel].DIO5 ) == 0 ) + // { + // LogMessage("Error: DIO5 pin is misconfigured on Channel %d, Disabling.\n", Channel); + // Config.LoRaDevices[Channel].InUse = 0; + // return; + // } // LoRa mode setLoRaMode( Channel );