Small cleanups.

pull/1/head
Jonathan Naylor 8 years ago
parent 1793c8d692
commit a50a84688f

@ -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;
}

@ -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;
}
}

Loading…
Cancel
Save

Powered by TurnKey Linux.