kopia lustrzana https://github.com/PiInTheSky/lora-gateway
V1.8.19 - Disabled DIO5 startup check
rodzic
e26c4fd441
commit
7d501594c2
|
@ -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
|
||||
--------------------
|
||||
|
||||
|
|
14
gateway.c
14
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 );
|
||||
|
|
Ładowanie…
Reference in New Issue