Add timer to return from CW Ident

This commit is contained in:
phl0
2016-09-15 15:17:51 +02:00
parent 4e1b002665
commit 28775026d4
10 changed files with 32 additions and 1 deletions

View File

@@ -619,8 +619,8 @@ int CMMDVMHost::run()
if (m_cwIdTimer.isRunning() && m_cwIdTimer.hasExpired()) {
if (m_mode == MODE_IDLE && !m_modem->hasTX()){
LogDebug("sending CW ID");
m_display->writeCW();
m_modem->sendCWId(m_callsign);
m_display->setIdle();
m_cwIdTimer.start(); //reset only after sending ID, timer-overflow after 49 days doesnt matter
}