seconds per frame float

pull/107/head
alanbjohnston 5 years ago committed by GitHub
parent 2e2c63bb6d
commit f75a97d2e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -603,8 +603,8 @@ int main(int argc, char * argv[]) {
samplePeriod = 2200; // reduce dut to python and sensor querying delays
sleepTime = 2.2f;
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);
printf("\n BPSK Mode, bufLen: %d, %d bits per frame, %d bits per second, %f seconds per frame %d ms sample period\n",
bufLen, bufLen / (samples * frameCnt), bitRate, (float)((float)bufLen / (samples * frameCnt * bitRate)), samplePeriod);
sin_samples = S_RATE/freq_Hz;
// printf("Sin map: ");

Loading…
Cancel
Save

Powered by TurnKey Linux.