Add fine adjustment to the DMR/YSF thresholds.

This commit is contained in:
Jonathan Naylor
2016-06-21 07:25:25 +01:00
parent a3ea870b52
commit 17f6314f90
9 changed files with 83 additions and 8 deletions
+3
View File
@@ -35,6 +35,8 @@ public:
void reset();
void setThreshold(int8_t threshold);
private:
uint32_t m_pll;
bool m_prev;
@@ -49,6 +51,7 @@ private:
uint16_t m_lostCount;
q15_t m_centre;
q15_t m_threshold;
q15_t m_scale;
void processNone(q15_t sample);
void processData(q15_t sample);