Skip to content

Commit

Permalink
fix RSPdx bug
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexandreRouma committed Dec 18, 2024
1 parent d624263 commit 895199a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source_modules/sdrplay_source/src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ class SDRPlaySourceModule : public ModuleManager::Instance {
else if (openDev.hwVer == SDRPLAY_RSPduo_ID) {
lnaSteps = 10;
}
else if (openDev.hwVer == SDRPLAY_RSP1A_ID || openDev.hwVer == SDRPLAY_RSPdxR2_ID) {
else if (openDev.hwVer == SDRPLAY_RSPdx_ID || openDev.hwVer == SDRPLAY_RSPdxR2_ID) {
lnaSteps = 28;
}

Expand Down Expand Up @@ -384,7 +384,7 @@ class SDRPlaySourceModule : public ModuleManager::Instance {
rspduo_biasT = config.conf["devices"][selectedName]["biast"];
}
}
else if (openDev.hwVer == SDRPLAY_RSP1A_ID || openDev.hwVer == SDRPLAY_RSPdxR2_ID) {
else if (openDev.hwVer == SDRPLAY_RSPdx_ID || openDev.hwVer == SDRPLAY_RSPdxR2_ID) {
if (config.conf["devices"][selectedName].contains("antenna")) {
rspdx_antennaPort = config.conf["devices"][selectedName]["antenna"];
}
Expand Down

0 comments on commit 895199a

Please sign in to comment.