mirror of
https://github.com/g4klx/MMDVM.git
synced 2026-04-20 22:05:08 +00:00
Add dummy RSSI sampling code.
This commit is contained in:
parent
e0ea81bbc9
commit
ba969d85d0
10 changed files with 182 additions and 34 deletions
|
|
@ -34,7 +34,7 @@ class CDMRDMORX {
|
|||
public:
|
||||
CDMRDMORX();
|
||||
|
||||
void samples(const q15_t* samples, uint8_t length);
|
||||
void samples(const q15_t* samples, const uint16_t* rssi, uint8_t length);
|
||||
|
||||
void setColorCode(uint8_t colorCode);
|
||||
|
||||
|
|
@ -61,7 +61,7 @@ private:
|
|||
uint16_t m_rssiCount;
|
||||
uint16_t m_rssi;
|
||||
|
||||
bool processSample(q15_t sample);
|
||||
bool processSample(q15_t sample, uint16_t rssi);
|
||||
void correlateSync(bool first);
|
||||
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