Make the YSF demodulator stiffer when locked.

This commit is contained in:
Jonathan Naylor
2016-03-21 22:07:33 +00:00
parent 96091c8424
commit 3665d02fe7
2 changed files with 21 additions and 9 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
@@ -38,6 +38,7 @@ public:
private:
uint32_t m_pll;
bool m_prev;
uint32_t m_inc;
YSFRX_STATE m_state;
uint32_t m_symbolBuffer;
uint64_t m_bitBuffer;
@@ -64,6 +65,7 @@ private:
uint32_t getSyndrome23127(uint32_t pattern) const;
uint32_t golay24128(const uint8_t* bytes) const;
bool checksum(const uint8_t* fich) const;
void locked(bool lock);
};
#endif