From 5e74e602d9dc29f3d26eca2d072ab974a9c20a53 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Tue, 28 Jan 2025 10:19:45 -0500 Subject: [PATCH] Update main.c updated length to 2*ctr+2 like bpsk --- main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.c b/main.c index 83d5c932..8dc0f1a1 100644 --- a/main.c +++ b/main.c @@ -2481,7 +2481,7 @@ void get_tlm_fc() { /* write waveform buffer over socket */ - int length = (headerLen + syncBits + dataLen) * samples; + int length = (((headerLen + syncBits + dataLen) * samples) * 2) + 2; // ctr * 2 + 2 like bpsk due to 2 bytes per sample. if (!error && transmit) { // digitalWrite (0, LOW);