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
+2
View File
@@ -37,6 +37,7 @@ public:
bool processSample(q15_t sample);
void setColorCode(uint8_t colorCode);
void setThreshold(int8_t threshold);
void setDelay(uint8_t delay);
void reset();
@@ -62,6 +63,7 @@ private:
DMRRX_STATE m_state;
uint8_t m_n;
uint8_t m_type;
q15_t m_scale;
void correlateSync(bool first);
void samplesToBits(uint16_t start, uint8_t count, uint8_t* buffer, uint16_t offset, q15_t centre, q15_t threshold);