kopia lustrzana https://github.com/PiInTheSky/lora-gateway
V1.10.3: Limit to 5 retries on SH upload
rodzic
648b73fb94
commit
563e1bb31b
|
@ -45,7 +45,7 @@
|
|||
#include "udpclient.h"
|
||||
#include "lifo_buffer.h"
|
||||
|
||||
#define VERSION "V1.10.2"
|
||||
#define VERSION "V1.10.3"
|
||||
bool run = TRUE;
|
||||
|
||||
// RFM98
|
||||
|
@ -1165,7 +1165,7 @@ int ProcessTelemetryMessage(int Channel, received_t *Received)
|
|||
}
|
||||
else
|
||||
{
|
||||
LogMessage("%02d:%02d:%02d Ch%d: %s\n", tm->tm_hour, tm->tm_min, tm->tm_sec, Channel, "Bad UKHAS CRC");
|
||||
LogMessage("%02d:%02d:%02d Ch%d: %s%s\n", tm->tm_hour, tm->tm_min, tm->tm_sec, Channel, "Bad UKHAS CRC: ", startmessage);
|
||||
}
|
||||
|
||||
startmessage = endmessage + 1;
|
||||
|
|
|
@ -408,12 +408,11 @@ void *SondehubLoop( void *vars )
|
|||
// Try to upload active payload, if there is one
|
||||
if (ActiveSondehubPayloads[Channel].InUse)
|
||||
{
|
||||
if (UploadSondehubPosition(Channel))
|
||||
{
|
||||
UploadSondehubPosition(Channel); // Upload, with limited retries ifd needed
|
||||
|
||||
ActiveSondehubPayloads[Channel].InUse = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if ((Config.latitude >= -90) && (Config.latitude <= 90) && (Config.longitude >= -180) && (Config.longitude <= 180))
|
||||
{
|
||||
|
|
Ładowanie…
Reference in New Issue