mirror of
https://github.com/cjcliffe/CubicSDR.git
synced 2025-08-21 06:22:26 -04:00
Fix wrong type for timeoutUs parameter of readStream
This commit is contained in:
parent
a2bd569e5a
commit
94e252db51
@ -208,7 +208,7 @@ int SDRThread::readStream(SDRThreadIQDataQueuePtr iqDataOutQueue) {
|
|||||||
// Supply a huge timeout value to neutralize the readStream 'timeout' effect
|
// Supply a huge timeout value to neutralize the readStream 'timeout' effect
|
||||||
// we are not interested in, but some modules may effectively use.
|
// we are not interested in, but some modules may effectively use.
|
||||||
//TODO: use something roughly (1 / TARGET_DISPLAY_FPS) seconds * (factor) instead.?
|
//TODO: use something roughly (1 / TARGET_DISPLAY_FPS) seconds * (factor) instead.?
|
||||||
long timeoutUs = (1 << 31);
|
long timeoutUs = (1 << 30);
|
||||||
|
|
||||||
int n_read = 0;
|
int n_read = 0;
|
||||||
int nElems = numElems.load();
|
int nElems = numElems.load();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user