mirror of
https://github.com/g4klx/MMDVM.git
synced 2026-04-09 00:14:52 +00:00
Fix DMO mode for CS700 as well as PD365.
This commit is contained in:
parent
cffe692055
commit
0edb4e1c43
5 changed files with 29 additions and 246 deletions
|
|
@ -30,11 +30,6 @@ enum DMORX_STATE {
|
|||
DMORXS_DATA
|
||||
};
|
||||
|
||||
struct EMBList {
|
||||
uint8_t part1;
|
||||
uint8_t part2;
|
||||
};
|
||||
|
||||
class CDMRDMORX {
|
||||
public:
|
||||
CDMRDMORX();
|
||||
|
|
@ -65,11 +60,9 @@ private:
|
|||
uint8_t m_type;
|
||||
uint16_t m_rssiCount;
|
||||
uint16_t m_rssi;
|
||||
EMBList m_embs[5U];
|
||||
|
||||
bool processSample(q15_t sample);
|
||||
void correlateSync(bool first);
|
||||
void correlateEMB();
|
||||
void samplesToBits(uint16_t start, uint8_t count, uint8_t* buffer, uint16_t offset, q15_t centre, q15_t threshold);
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue