mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2025-10-27 13:37:38 +00:00
close the DMA descriptor properly.
This commit is contained in:
committed by
Carles Fernandez
parent
9af02a3bbd
commit
beddfb6f73
@@ -592,6 +592,11 @@ void Ad9361FpgaSignalSource::run_DMA_process(const std::string &FreqBand, const
|
|||||||
lock.unlock();
|
lock.unlock();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (close(tx_fd) < 0)
|
||||||
|
{
|
||||||
|
std::cerr << "Error closing loop device " << '\n';
|
||||||
|
}
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
infile1.close();
|
infile1.close();
|
||||||
|
|||||||
Reference in New Issue
Block a user