diff --git a/plugins/samplesource/sdrplay/sdrplayinput.cpp b/plugins/samplesource/sdrplay/sdrplayinput.cpp index 7871b30f0..0f01613c4 100644 --- a/plugins/samplesource/sdrplay/sdrplayinput.cpp +++ b/plugins/samplesource/sdrplay/sdrplayinput.cpp @@ -112,6 +112,8 @@ bool SDRPlayInput::openDevice() if (QString(product) == "RSP1A") { m_variant = SDRPlayRSP1A; + } else if (QString(product) == "RSP2") { + m_variant = SDRPlayRSP2; } else { m_variant = SDRPlayRSP1; } diff --git a/plugins/samplesource/sdrplay/sdrplayinput.h b/plugins/samplesource/sdrplay/sdrplayinput.h index 93e2d2d7a..b82e057ac 100644 --- a/plugins/samplesource/sdrplay/sdrplayinput.h +++ b/plugins/samplesource/sdrplay/sdrplayinput.h @@ -34,7 +34,8 @@ public: { SDRPlayUndef, SDRPlayRSP1, - SDRPlayRSP1A + SDRPlayRSP1A, + SDRPlayRSP2 }; class MsgConfigureSDRPlay : public Message {