Add extra idle frames at the start of a DMR DMO transmission.

This commit is contained in:
Jonathan Naylor
2017-03-12 18:36:41 +00:00
parent bcbfb66131
commit 3814d4243c
3 changed files with 40 additions and 7 deletions
+5 -1
View File
@@ -37,6 +37,8 @@ public:
uint8_t getSpace() const;
void setColorCode(uint8_t colorCode);
private:
CSerialRB m_fifo;
arm_fir_instance_q15 m_modFilter;
@@ -44,7 +46,9 @@ private:
uint8_t m_poBuffer[1200U];
uint16_t m_poLen;
uint16_t m_poPtr;
uint16_t m_txDelay;
uint32_t m_txDelay;
uint8_t m_idle[DMR_FRAME_LENGTH_BYTES];
uint32_t m_frameCount;
void writeByte(uint8_t c);
};