Update MMDVMHost.cpp

This commit is contained in:
Andy Taylor 2020-05-05 19:24:29 +01:00 committed by GitHub
parent 97327be963
commit dd2f5fbe26
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1986,6 +1986,17 @@ void CMMDVMHost::remoteControl()
}
m_pocsag->sendPage(ric, text);
}
case RCD_CW:
if (!m_modem->hasTX()){
std::string cwtext;
for (unsigned int i = 0U; i < m_remoteControl->getArgCount(); i++) {
if (i > 0U)
cwtext += " ";
cwtext += m_remoteControl->getArgString(i);
}
m_display->writeCW();
m_modem->sendCWId(cwtext);
}
default:
break;
}