print bufLen

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

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

Loading…
Cancel
Save

Powered by TurnKey Linux.