V1.8.19 - Disabled DIO5 startup check

pull/48/head
Dave Akerman 2018-04-16 14:31:57 +00:00
rodzic e26c4fd441
commit 7d501594c2
2 zmienionych plików z 12 dodań i 7 usunięć

Wyświetl plik

@ -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
--------------------

Wyświetl plik

@ -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 );