diff --git a/afsk/main.c b/afsk/main.c index e758bfab..49685823 100644 --- a/afsk/main.c +++ b/afsk/main.c @@ -422,7 +422,7 @@ if (vB4) // samplePeriod = ((float)((syncBits + 10 * (headerLen + rsFrames * (rsFrameLen + parityLen))))/(float)bitRate) * 1000 - 1800; samplePeriod = 3000; - sleepTime = 3; + sleepTime = 3.0; printf("\n BPSK Mode, bufLen: %d, %d bits per frame, %d bits per second, %d seconds per frame %d ms sample period\n", bufLen, bufLen/(samples * frameCnt), bitRate, bufLen/(samples * frameCnt * bitRate), samplePeriod);