Make the D-Star demodulator stiffer when locked.

This commit is contained in:
Jonathan Naylor
2016-03-21 22:03:00 +00:00
parent 89d9dd9a7b
commit 96091c8424
2 changed files with 22 additions and 10 deletions
+3 -1
View File
@@ -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