From a50a84688fc60b1508140edb7164a77cf14b83b5 Mon Sep 17 00:00:00 2001 From: Jonathan Naylor Date: Thu, 5 Jul 2018 20:39:30 +0100 Subject: [PATCH] Small cleanups. --- Common/IcomController.cpp | 2 +- DStarRepeater/DStarRepeaterApp.cpp | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Common/IcomController.cpp b/Common/IcomController.cpp index 0efe123..daca59c 100644 --- a/Common/IcomController.cpp +++ b/Common/IcomController.cpp @@ -159,7 +159,7 @@ void* CIcomController::Entry() int ret = m_serial.write(m_buffer, len + 1U); if (ret != int(len + 1U)) - wxLogWarning(wxT("Error when writing the header to the Icom")); + wxLogWarning(wxT("Error when writing to the Icom radio")); m_txSpace = false; } diff --git a/DStarRepeater/DStarRepeaterApp.cpp b/DStarRepeater/DStarRepeaterApp.cpp index 6c8d15c..2a52399 100644 --- a/DStarRepeater/DStarRepeaterApp.cpp +++ b/DStarRepeater/DStarRepeaterApp.cpp @@ -335,12 +335,12 @@ void CDStarRepeaterApp::createThread() m_config->getModem(modemType); // DVAP can only do simplex, force the mode accordingly - if (modemType.IsSameAs("DVAP")) { + if (modemType.IsSameAs("DVAP") || modemType.IsSameAs(wxT("Icom Access Point / Terminal Mode"))) { if (mode == MODE_DUPLEX) { - wxLogInfo("DVAP: changing mode from DUPLEX to SIMPLEX"); + wxLogInfo("Changing mode from DUPLEX to SIMPLEX"); mode = MODE_SIMPLEX; } else if (mode == MODE_TXANDRX) { - wxLogInfo("DVAP: changing mode from TX_AND_RX to RX_ONLY"); + wxLogInfo("Changing mode from TX_AND_RX to RX_ONLY"); mode = MODE_RXONLY; } }