mirror of
https://github.com/juribeparada/MMDVM_HS.git
synced 2026-04-07 23:33:40 +00:00
Optional debug messages at compile time to save FLASH space
This commit is contained in:
parent
64cad981fa
commit
37724bbabf
16 changed files with 63 additions and 4 deletions
|
|
@ -382,10 +382,12 @@ void CDStarRX::processData(bool bit)
|
|||
bool syncSeen = false;
|
||||
if (m_dataBits >= SYNC_SCAN_START && m_dataBits <= (SYNC_POS + 1U)) {
|
||||
if (countBits32((m_patternBuffer & DATA_SYNC_MASK) ^ DATA_SYNC_DATA) <= DATA_SYNC_ERRS) {
|
||||
if (m_dataBits < SYNC_POS)
|
||||
if (m_dataBits < SYNC_POS) {
|
||||
DEBUG2("DStarRX: found data sync in Data, early", SYNC_POS - m_dataBits);
|
||||
else
|
||||
}
|
||||
else {
|
||||
DEBUG1("DStarRX: found data sync in Data");
|
||||
}
|
||||
|
||||
m_rxBufferBits = DSTAR_DATA_LENGTH_BITS;
|
||||
m_dataBits = 0U;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue