diff --git a/src/defines.h b/src/defines.h index 7209cf34..7e8702f2 100644 --- a/src/defines.h +++ b/src/defines.h @@ -71,7 +71,7 @@ #define MAX_BITS_PER_FDMDV_FRAME 40 // 2000 bit/s mode // Squelch -#define SQ_DEFAULT_SNR 2.0 +#define SQ_DEFAULT_SNR -2.0 // Level Gauge #define FROM_RADIO_MAX 0.8 diff --git a/src/main.cpp b/src/main.cpp index 85c33db3..2bdab8dc 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -383,7 +383,7 @@ void MainFrame::loadConfiguration_() wxGetApp().m_rxNbookCtrl = pConfig->Read(wxT("/MainFrame/rxNbookCtrl"), (long)0); - g_SquelchActive = pConfig->Read(wxT("/Audio/SquelchActive"), (long)0); + g_SquelchActive = pConfig->Read(wxT("/Audio/SquelchActive"), (long)1); g_SquelchLevel = pConfig->Read(wxT("/Audio/SquelchLevel"), (int)(SQ_DEFAULT_SNR*2)); g_SquelchLevel /= 2.0; @@ -546,7 +546,7 @@ void MainFrame::loadConfiguration_() // Time in seconds after losing sync before we reset the stats area wxGetApp().m_statsResetTimeSec = (int)pConfig->Read(wxT("/Stats/ResetTime"), (int)10); - int mode = pConfig->Read(wxT("/Audio/mode"), (long)0); + int mode = pConfig->Read(wxT("/Audio/mode"), (long)4); if (mode == 0) m_rb1600->SetValue(1); if (mode == 3)