Add DMR slot delay parameter.

This commit is contained in:
Jonathan Naylor
2016-03-17 18:12:14 +00:00
parent 337ec7dc97
commit efa9ec1977
6 changed files with 29 additions and 12 deletions

View File

@@ -33,7 +33,7 @@ enum RESP_TYPE_MMDVM {
class CModem {
public:
CModem(const std::string& port, bool rxInvert, bool txInvert, bool pttInvert, unsigned int txDelay, unsigned int rxLevel, unsigned int txLevel, bool debug = false);
CModem(const std::string& port, bool rxInvert, bool txInvert, bool pttInvert, unsigned int txDelay, unsigned int rxLevel, unsigned int txLevel, unsigned int dmrDelay, bool debug = false);
~CModem();
void setRFParams(unsigned int rxFrequency, unsigned int txFrequency);
@@ -75,6 +75,7 @@ private:
bool m_txInvert;
bool m_pttInvert;
unsigned int m_txDelay;
unsigned int m_dmrDelay;
unsigned int m_rxLevel;
unsigned int m_txLevel;
bool m_debug;