Preparations for RSPduo support + Added new patrons!

This commit is contained in:
Ryzerth
2021-03-07 20:10:10 +01:00
parent abf5ad2eec
commit a714370eb2
3 changed files with 20 additions and 7 deletions

View File

@ -253,6 +253,11 @@ public:
deviceOpen = true;
}
void selectShittyTuner(sdrplay_api_TunerSelectT tuner, sdrplay_api_RspDuo_AmPortSelectT amPort) {
// What the fuck?
if (openDev.tuner != tuner) { sdrplay_api_SwapRspDuoActiveTuner(openDev.dev, &openDev.tuner, amPort); }
}
private:
std::string getBandwdithScaled(double bw) {
@ -446,7 +451,7 @@ private:
}
void RSP1Menu(float menuWidth) {
ImGui::TextColored(ImVec4(1.0f, 0.0f, 0.0f, 1.0f), "Device currently unsupported");
// No options?
}
void RSP1AMenu(float menuWidth) {
@ -566,6 +571,9 @@ private:
bool rsp2_biasT = false;
int rsp2_antennaPort = 0;
// RSP Duo Options
// RSPdx Options
bool rspdx_fmNotch = false;
bool rspdx_dabNotch = false;