Fix wrong type for timeoutUs parameter of readStream

This commit is contained in:
vsonnier 2019-03-09 18:23:06 +01:00
parent a2bd569e5a
commit 94e252db51
1 changed files with 1 additions and 1 deletions

View File

@ -208,7 +208,7 @@ int SDRThread::readStream(SDRThreadIQDataQueuePtr iqDataOutQueue) {
// Supply a huge timeout value to neutralize the readStream 'timeout' effect
// we are not interested in, but some modules may effectively use.
//TODO: use something roughly (1 / TARGET_DISPLAY_FPS) seconds * (factor) instead.?
long timeoutUs = (1 << 31);
long timeoutUs = (1 << 30);
int n_read = 0;
int nElems = numElems.load();