diff --git a/gateway.c b/gateway.c index 5fd7dcc..c7e9b33 100644 --- a/gateway.c +++ b/gateway.c @@ -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; diff --git a/sondehub.c b/sondehub.c index 8828306..efa7551 100755 --- a/sondehub.c +++ b/sondehub.c @@ -408,10 +408,9 @@ void *SondehubLoop( void *vars ) // Try to upload active payload, if there is one if (ActiveSondehubPayloads[Channel].InUse) { - if (UploadSondehubPosition(Channel)) - { - ActiveSondehubPayloads[Channel].InUse = 0; - } + UploadSondehubPosition(Channel); // Upload, with limited retries ifd needed + + ActiveSondehubPayloads[Channel].InUse = 0; } }