From ada610e060482d20d142ee2d3150c66b63eba2f7 Mon Sep 17 00:00:00 2001 From: sdn-ninja Date: Thu, 9 May 2024 22:08:24 +0100 Subject: [PATCH] Update Source.cpp There was no code path to call HackRF::stop(). I presume you need the same for USRP? --- src/capture/Source.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/capture/Source.cpp b/src/capture/Source.cpp index 5d40395..2f7e96a 100644 --- a/src/capture/Source.cpp +++ b/src/capture/Source.cpp @@ -65,6 +65,9 @@ void Source::close_file() void Source::kill() { if (type == "RspDuo") + { + stop(); + } else if (type == "HackRF") { stop(); }