mirror of
https://github.com/30hours/blah2.git
synced 2024-11-18 12:33:58 +00:00
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:
parent
e109c2f07a
commit
ada610e060
1 changed files with 3 additions and 0 deletions
|
@ -65,6 +65,9 @@ void Source::close_file()
|
||||||
void Source::kill()
|
void Source::kill()
|
||||||
{
|
{
|
||||||
if (type == "RspDuo")
|
if (type == "RspDuo")
|
||||||
|
{
|
||||||
|
stop();
|
||||||
|
} else if (type == "HackRF")
|
||||||
{
|
{
|
||||||
stop();
|
stop();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue