From 7ea991a54828091c2f7d38f93beacab9b96e54c6 Mon Sep 17 00:00:00 2001 From: sdn-ninja Date: Wed, 12 Jun 2024 10:15:06 +0100 Subject: [PATCH] Update Kraken.h similar to hackrf declarations, a vector of device handlers doesn't work for some reason --- src/capture/kraken/Kraken.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/capture/kraken/Kraken.h b/src/capture/kraken/Kraken.h index 405dad2..b10fea7 100644 --- a/src/capture/kraken/Kraken.h +++ b/src/capture/kraken/Kraken.h @@ -10,7 +10,7 @@ /// The original steve-m/librtlsdr does not include this method. /// This is included in librtlsdr/librtlsdr or krakenrf/librtlsdr. /// Also works using 2 RTL-SDRs which have been clock synchronised. -/// @author 30hours, Michael Brock +/// @author 30hours, Michael Brock, sdn-ninja /// @todo Add support for multiple surveillance channels. /// @todo Replay support. @@ -30,7 +30,8 @@ class Kraken : public Source private: /// @brief Individual RTL-SDR devices. - std::vector devs; + rtlsdr_dev_t* devs[2]; + /// @brief Device indices for Kraken. std::vector channelIndex;