Skip to content

Commit

Permalink
Increase max SNR in the UI to 40 dB. (#817)
Browse files Browse the repository at this point in the history
  • Loading branch information
tmiw authored Jan 18, 2025
1 parent 5a77cf1 commit c1cc52e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cmake/BuildRADE.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ ExternalProject_Add(build_rade
SOURCE_DIR rade_src
BINARY_DIR rade_build
GIT_REPOSITORY https://github.com/drowe67/radae.git
GIT_TAG dr-est_snr
GIT_TAG main
CMAKE_ARGS ${RADE_CMAKE_ARGS}
#CMAKE_CACHE_ARGS -DCMAKE_OSX_DEPLOYMENT_TARGET:STRING=${CMAKE_OSX_DEPLOYMENT_TARGET}
INSTALL_COMMAND ""
Expand Down
2 changes: 1 addition & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1687,7 +1687,7 @@ void MainFrame::OnTimer(wxTimerEvent &evt)
}
snr_limited = g_snr;
if (snr_limited < -5.0) snr_limited = -5.0;
if (snr_limited > 20.0) snr_limited = 20.0;
if (snr_limited > 40.0) snr_limited = 40.0;
char snr[15];
snprintf(snr, 15, "%4.1f dB", g_snr);

Expand Down
2 changes: 1 addition & 1 deletion src/topFrame.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,7 @@ TopFrame::TopFrame(wxWindow* parent, wxWindowID id, const wxString& title, const
//------------------------------
// S/N ratio Gauge (vert. bargraph)
//------------------------------
m_gaugeSNR = new wxGauge(snrBox, wxID_ANY, 25, wxDefaultPosition, wxSize(135,15), wxGA_SMOOTH);
m_gaugeSNR = new wxGauge(snrBox, wxID_ANY, 45, wxDefaultPosition, wxSize(135,15), wxGA_SMOOTH);
m_gaugeSNR->SetToolTip(_("Displays signal to noise ratio in dB."));
snrSizer->Add(m_gaugeSNR, 1, wxALIGN_CENTER_HORIZONTAL|wxALL, 10);

Expand Down

0 comments on commit c1cc52e

Please sign in to comment.