Fix wrong type for timeoutUs parameter of readStream

This commit is contained in:
vsonnier 2019-03-09 18:22:49 +01:00
parent 6d8c9f60d2
commit a2bd569e5a
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 long timeoutUs = (1 << 32);
long timeoutUs = (1 << 31);
int n_read = 0;
int nElems = numElems.load();