Simplify logic of the DMR receiver and narrow the sync scan range.

This commit is contained in:
Jonathan Naylor
2016-01-16 18:00:30 +00:00
parent da9846c8f1
commit 11b18207ff
4 changed files with 40 additions and 38 deletions
+1 -2
View File
@@ -30,8 +30,6 @@ public:
bool processSample(q15_t sample);
void stop();
void setColorCode(uint8_t colorCode);
void reset();
@@ -42,6 +40,7 @@ private:
q15_t m_buffer[900U];
uint16_t m_bitPtr;
uint16_t m_dataPtr;
uint16_t m_syncPtr;
uint16_t m_endPtr;
q31_t m_maxCorr;
q15_t m_centre;