1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-06-24 05:53:16 +00:00

close the DMA descriptor properly.

This commit is contained in:
Marc Majoral 2020-10-15 23:55:36 +02:00 committed by Carles Fernandez
parent 9af02a3bbd
commit beddfb6f73

View File

@ -592,6 +592,11 @@ void Ad9361FpgaSignalSource::run_DMA_process(const std::string &FreqBand, const
lock.unlock();
}
if (close(tx_fd) < 0)
{
std::cerr << "Error closing loop device " << '\n';
}
try
{
infile1.close();