Compare commits
2 commits
558c3a0a41
...
66105e155a
Author | SHA1 | Date | |
---|---|---|---|
66105e155a | |||
f45d343c8c |
1 changed files with 3 additions and 1 deletions
|
@ -37,7 +37,7 @@
|
||||||
|
|
||||||
#define IQ_SAMPLES 32
|
#define IQ_SAMPLES 32
|
||||||
#define IQ_BLOCK_LEN (2 * IQ_SAMPLES)
|
#define IQ_BLOCK_LEN (2 * IQ_SAMPLES)
|
||||||
#define IQ_QUEUE_LEN 4
|
#define IQ_QUEUE_LEN 2
|
||||||
|
|
||||||
#define LO_BITS_DEPTH 15
|
#define LO_BITS_DEPTH 15
|
||||||
#define LO_WORDS (1 << (LO_BITS_DEPTH - 2))
|
#define LO_WORDS (1 << (LO_BITS_DEPTH - 2))
|
||||||
|
@ -598,6 +598,8 @@ static void do_rx()
|
||||||
if (queue_try_remove(&iq_queue, &block)) {
|
if (queue_try_remove(&iq_queue, &block)) {
|
||||||
fwrite(block, IQ_BLOCK_LEN, 1, stdout);
|
fwrite(block, IQ_BLOCK_LEN, 1, stdout);
|
||||||
fflush(stdout);
|
fflush(stdout);
|
||||||
|
} else {
|
||||||
|
sleep_us(25);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue