Update Source.cpp

There was no code path to call HackRF::stop().

I presume you need the same for USRP?
This commit is contained in:
sdn-ninja 2024-05-09 22:08:24 +01:00 committed by GitHub
parent e109c2f07a
commit ada610e060
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -65,6 +65,9 @@ void Source::close_file()
void Source::kill()
{
if (type == "RspDuo")
{
stop();
} else if (type == "HackRF")
{
stop();
}