diff --git a/cubesatsim/cubesatsim.ino b/cubesatsim/cubesatsim.ino index 7956ab1d..4acb6ade 100644 --- a/cubesatsim/cubesatsim.ino +++ b/cubesatsim/cubesatsim.ino @@ -553,7 +553,7 @@ void config_telem() { samples = sample_rate / bitRate; // Serial.println(samples); bufLen = (frameCnt * (syncBits + 10 * (headerLen + rsFrames * (rsFrameLen + parityLen))) * samples); - bufLen = 2000; + bufLen = 970; // 2000; Serial.println(bufLen); samplePeriod = (int) (((float)((syncBits + 10 * (headerLen + rsFrames * (rsFrameLen + parityLen)))) / (float) bitRate) * 1000 - 500); sleepTime = 0.1;