Allow for the fine adjustment of levels.

This commit is contained in:
Jonathan Naylor
2016-06-20 22:03:54 +01:00
parent 1c70de5aee
commit a3ea870b52
7 changed files with 166 additions and 21 deletions
+5
View File
@@ -53,9 +53,14 @@ public:
uint16_t getSpace2() const;
void setColorCode(uint8_t colorCode);
void setLevels(int8_t level1, int8_t level3);
private:
CSerialRB m_fifo[2U];
q15_t m_levelA[5U];
q15_t m_levelB[5U];
q15_t m_levelC[5U];
q15_t m_levelD[5U];
arm_fir_instance_q15 m_modFilter;
q15_t m_modState[70U]; // NoTaps + BlockSize - 1, 42 + 20 - 1 plus some spare
DMRTXSTATE m_state;