mirror of
https://github.com/g4klx/MMDVM.git
synced 2026-10-15 08:14:12 +02:00
Make the YSF 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
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user