mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-06-01 21:54:55 -04:00
Device engines: stop device before channels when going idle
This commit is contained in:
@@ -389,6 +389,8 @@ DSPDeviceMIMOEngine::State DSPDeviceMIMOEngine::gotoIdle()
|
||||
|
||||
// stop everything
|
||||
|
||||
m_deviceSampleMIMO->stop();
|
||||
|
||||
std::vector<BasebandSampleSinks>::const_iterator vbit = m_basebandSampleSinks.begin();
|
||||
|
||||
for (; vbit != m_basebandSampleSinks.end(); ++vbit)
|
||||
@@ -428,7 +430,6 @@ DSPDeviceMIMOEngine::State DSPDeviceMIMOEngine::gotoIdle()
|
||||
(*it)->stop();
|
||||
}
|
||||
|
||||
m_deviceSampleMIMO->stop();
|
||||
m_deviceDescription.clear();
|
||||
|
||||
return StIdle;
|
||||
|
||||
Reference in New Issue
Block a user