mirror of
https://github.com/g4klx/MMDVM.git
synced 2026-08-21 14:36:21 +02:00
Add working sync sample dumping for DMR, P25 and YSF.
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
|
||||
#define WANT_DEBUG
|
||||
|
||||
#define DUMP_SAMPLES
|
||||
// #define DUMP_SAMPLES
|
||||
|
||||
#include "Config.h"
|
||||
#include "Globals.h"
|
||||
@@ -438,6 +438,7 @@ void CP25RX::writeRSSILdu(uint8_t* ldu)
|
||||
m_rssiCount = 0U;
|
||||
}
|
||||
|
||||
#if defined(DUMP_SAMPLES)
|
||||
void CP25RX::writeSync(uint16_t start)
|
||||
{
|
||||
q15_t sync[P25_SYNC_LENGTH_SYMBOLS];
|
||||
@@ -452,3 +453,4 @@ void CP25RX::writeSync(uint16_t start)
|
||||
|
||||
serial.writeSamples(STATE_P25, sync, P25_SYNC_LENGTH_SYMBOLS);
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user