From 999f9e1148fdfc0abbcce7cae371e13eb09dfd26 Mon Sep 17 00:00:00 2001 From: alanbjohnston Date: Sun, 11 Sep 2022 09:02:53 -0400 Subject: [PATCH] bufLen 2000 --- cubesatsim/cubesatsim.ino | 1 + 1 file changed, 1 insertion(+) diff --git a/cubesatsim/cubesatsim.ino b/cubesatsim/cubesatsim.ino index 66c4a5ed..bd97ee68 100644 --- a/cubesatsim/cubesatsim.ino +++ b/cubesatsim/cubesatsim.ino @@ -551,6 +551,7 @@ void config_telem() { samples = sample_rate / bitRate; // Serial.println(samples); bufLen = (frameCnt * (syncBits + 10 * (headerLen + rsFrames * (rsFrameLen + parityLen))) * samples); + bufLen = 2000; Serial.println(bufLen); samplePeriod = (int) (((float)((syncBits + 10 * (headerLen + rsFrames * (rsFrameLen + parityLen)))) / (float) bitRate) * 1000 - 500); sleepTime = 0.1;