pull/201/head
alanbjohnston 3 years ago committed by GitHub
parent 660115e9e3
commit 4e839aaa4a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -553,7 +553,7 @@ void config_telem() {
samples = sample_rate / bitRate; samples = sample_rate / bitRate;
// Serial.println(samples); // Serial.println(samples);
bufLen = (frameCnt * (syncBits + 10 * (headerLen + rsFrames * (rsFrameLen + parityLen))) * samples); bufLen = (frameCnt * (syncBits + 10 * (headerLen + rsFrames * (rsFrameLen + parityLen))) * samples);
bufLen = 2000; bufLen = 970; // 2000;
Serial.println(bufLen); Serial.println(bufLen);
samplePeriod = (int) (((float)((syncBits + 10 * (headerLen + rsFrames * (rsFrameLen + parityLen)))) / (float) bitRate) * 1000 - 500); samplePeriod = (int) (((float)((syncBits + 10 * (headerLen + rsFrames * (rsFrameLen + parityLen)))) / (float) bitRate) * 1000 - 500);
sleepTime = 0.1; sleepTime = 0.1;

Loading…
Cancel
Save

Powered by TurnKey Linux.