Recognize SDRplay RSP2 but do not support it effectively

pull/127/head
f4exb 2017-12-20 21:38:56 +01:00
rodzic 836b58c6ad
commit dbeeaa8f66
2 zmienionych plików z 4 dodań i 1 usunięć

Wyświetl plik

@ -112,6 +112,8 @@ bool SDRPlayInput::openDevice()
if (QString(product) == "RSP1A") { if (QString(product) == "RSP1A") {
m_variant = SDRPlayRSP1A; m_variant = SDRPlayRSP1A;
} else if (QString(product) == "RSP2") {
m_variant = SDRPlayRSP2;
} else { } else {
m_variant = SDRPlayRSP1; m_variant = SDRPlayRSP1;
} }

Wyświetl plik

@ -34,7 +34,8 @@ public:
{ {
SDRPlayUndef, SDRPlayUndef,
SDRPlayRSP1, SDRPlayRSP1,
SDRPlayRSP1A SDRPlayRSP1A,
SDRPlayRSP2
}; };
class MsgConfigureSDRPlay : public Message { class MsgConfigureSDRPlay : public Message {