Allow half-duplex DMR for use with hotspot hardware.

This commit is contained in:
Jonathan Naylor
2016-02-15 18:01:21 +00:00
parent a4dc96133a
commit 656be113f5
5 changed files with 67 additions and 43 deletions

View File

@@ -18,7 +18,7 @@
#include <cassert>
CDMRControl::CDMRControl(unsigned int id, unsigned int colorCode, unsigned int timeout, CModem* modem, CHomebrewDMRIPSC* network, IDisplay* display) :
CDMRControl::CDMRControl(unsigned int id, unsigned int colorCode, unsigned int timeout, CModem* modem, CHomebrewDMRIPSC* network, IDisplay* display, bool duplex) :
m_id(id),
m_colorCode(colorCode),
m_modem(modem),
@@ -29,7 +29,7 @@ m_slot2(2U, timeout)
assert(modem != NULL);
assert(display != NULL);
CDMRSlot::init(colorCode, modem, network, display);
CDMRSlot::init(colorCode, modem, network, display, duplex);
}
CDMRControl::~CDMRControl()