mirror of
https://github.com/rtlsdrblog/rtl-sdr-blog.git
synced 2025-04-02 09:35:40 +02:00
disable force canceling for now to prevent crashes
This commit is contained in:
parent
1cde8634ca
commit
f1ac20c371
@ -1657,11 +1657,12 @@ int rtlsdr_cancel_async(rtlsdr_dev_t *dev)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* if called while in pending state, change the state forcefully */
|
/* if called while in pending state, change the state forcefully */
|
||||||
|
#if 0
|
||||||
if (RTLSDR_INACTIVE != dev->async_status) {
|
if (RTLSDR_INACTIVE != dev->async_status) {
|
||||||
dev->async_status = RTLSDR_INACTIVE;
|
dev->async_status = RTLSDR_INACTIVE;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
return -2;
|
return -2;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user