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
|
11/04/2018 - V1.8.18
|
||||||
--------------------
|
--------------------
|
||||||
|
|
||||||
|
|
14
gateway.c
14
gateway.c
|
@ -38,7 +38,7 @@
|
||||||
#include "listener.h"
|
#include "listener.h"
|
||||||
#include "udpclient.h"
|
#include "udpclient.h"
|
||||||
|
|
||||||
#define VERSION "V1.8.18"
|
#define VERSION "V1.8.19"
|
||||||
bool run = TRUE;
|
bool run = TRUE;
|
||||||
|
|
||||||
// RFM98
|
// RFM98
|
||||||
|
@ -1365,12 +1365,12 @@ void setupRFM98( int Channel )
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if( digitalRead( Config.LoRaDevices[Channel].DIO5 ) == 0 )
|
// if( digitalRead( Config.LoRaDevices[Channel].DIO5 ) == 0 )
|
||||||
{
|
// {
|
||||||
LogMessage("Error: DIO5 pin is misconfigured on Channel %d, Disabling.\n", Channel);
|
// LogMessage("Error: DIO5 pin is misconfigured on Channel %d, Disabling.\n", Channel);
|
||||||
Config.LoRaDevices[Channel].InUse = 0;
|
// Config.LoRaDevices[Channel].InUse = 0;
|
||||||
return;
|
// return;
|
||||||
}
|
// }
|
||||||
|
|
||||||
// LoRa mode
|
// LoRa mode
|
||||||
setLoRaMode( Channel );
|
setLoRaMode( Channel );
|
||||||
|
|
Ładowanie…
Reference in New Issue