Update MMDVMHost.cpp

This commit is contained in:
Andy Taylor
2020-05-05 19:30:56 +01:00
committed by GitHub
parent d3f4b1f90c
commit ff492a518f

View File

@@ -1987,6 +1987,7 @@ void CMMDVMHost::remoteControl()
m_pocsag->sendPage(ric, text); m_pocsag->sendPage(ric, text);
} }
case RCD_CW: case RCD_CW:
setMode(MODE_IDLE); // Force the modem to go idle so that we can send the CW text.
if (!m_modem->hasTX()){ if (!m_modem->hasTX()){
std::string cwtext; std::string cwtext;
for (unsigned int i = 0U; i < m_remoteControl->getArgCount(); i++) { for (unsigned int i = 0U; i < m_remoteControl->getArgCount(); i++) {