mirror of
https://github.com/greatscottgadgets/hackrf.git
synced 2026-03-25 00:27:36 +01:00
Disable flush when cancelling transfers.
This commit is contained in:
@@ -237,6 +237,7 @@ static int cancel_transfers(hackrf_device* device)
|
||||
}
|
||||
|
||||
device->transfers_setup = false;
|
||||
device->flush = false;
|
||||
|
||||
// Now release the lock. It's possible that some transfers were
|
||||
// already complete when we called libusb_cancel_transfer() on
|
||||
|
||||
Reference in New Issue
Block a user