Update RX_FSK.ino

This commit is contained in:
Luke Prior 2021-09-19 20:25:58 +10:00 committed by GitHub
parent b5456d84d1
commit 387d3c059d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -3699,8 +3699,8 @@ void sondehub_send_data(WiFiClient * client, SondeInfo * s, struct st_sondehub *
w += strlen(w); w += strlen(w);
} }
// Only send burst timer if RS41 // Only send burst timer if RS41 and not 0
if (realtype == STYPE_RS41) { if ((realtype == STYPE_RS41) && ((int)s->burstKT != 0)) {
sprintf(w, "\"burst_timer\": %d,", (int)s->burstKT); sprintf(w, "\"burst_timer\": %d,", (int)s->burstKT);
w += strlen(w); w += strlen(w);
} }