mirror of
https://github.com/g4klx/MMDVMHost.git
synced 2026-04-05 06:25:24 +00:00
Make the D-Star ack optional.
This commit is contained in:
parent
6d2123cc49
commit
043ffe96d9
6 changed files with 22 additions and 5 deletions
|
|
@ -36,10 +36,11 @@ bool CallsignCompare(const std::string& arg, const unsigned char* my)
|
|||
|
||||
// #define DUMP_DSTAR
|
||||
|
||||
CDStarControl::CDStarControl(const std::string& callsign, const std::string& module, bool selfOnly, bool errorReply, const std::vector<std::string>& blackList, CDStarNetwork* network, CDisplay* display, unsigned int timeout, bool duplex, CRSSIInterpolator* rssiMapper) :
|
||||
CDStarControl::CDStarControl(const std::string& callsign, const std::string& module, bool selfOnly, bool ackReply, bool errorReply, const std::vector<std::string>& blackList, CDStarNetwork* network, CDisplay* display, unsigned int timeout, bool duplex, CRSSIInterpolator* rssiMapper) :
|
||||
m_callsign(NULL),
|
||||
m_gateway(NULL),
|
||||
m_selfOnly(selfOnly),
|
||||
m_ackReply(ackReply),
|
||||
m_errorReply(errorReply),
|
||||
m_blackList(blackList),
|
||||
m_network(network),
|
||||
|
|
@ -523,7 +524,9 @@ void CDStarControl::writeEndRF()
|
|||
|
||||
if (m_netState == RS_NET_IDLE) {
|
||||
m_display->clearDStar();
|
||||
m_ackTimer.start();
|
||||
|
||||
if (m_ackReply)
|
||||
m_ackTimer.start();
|
||||
|
||||
if (m_network != NULL)
|
||||
m_network->reset();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue