mirror of
https://github.com/g4klx/MMDVM.git
synced 2026-10-15 08:14:12 +02:00
Make the D-Star demodulator stiffer when locked.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2015 by Jonathan Naylor G4KLX
|
||||
* Copyright (C) 2015,2016 by Jonathan Naylor G4KLX
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
@@ -39,6 +39,7 @@ public:
|
||||
private:
|
||||
uint32_t m_pll;
|
||||
bool m_prev;
|
||||
uint32_t m_inc;
|
||||
DSRX_STATE m_rxState;
|
||||
uint32_t m_patternBuffer;
|
||||
uint8_t m_rxBuffer[100U];
|
||||
@@ -62,6 +63,7 @@ private:
|
||||
void viterbiDecode(int* data);
|
||||
void traceBack();
|
||||
bool checksum(const uint8_t* header) const;
|
||||
void locked(bool lock);
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user