bufLen 2000

pull/202/head
alanbjohnston 3 years ago committed by GitHub
parent a72c4ff9d4
commit 999f9e1148
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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;

Loading…
Cancel
Save

Powered by TurnKey Linux.