mirror of
https://github.com/g4klx/MMDVM.git
synced 2026-08-21 22:46:22 +02:00
Disassociate the ADC overload detection from the DCD LED.
This commit is contained in:
@@ -167,7 +167,9 @@ void CYSFRX::processNone(q15_t sample)
|
||||
m_lostCount = MAX_SYNC_FRAMES;
|
||||
m_bufferPtr = YSF_SYNC_LENGTH_BITS;
|
||||
m_state = YSFRXS_DATA;
|
||||
|
||||
io.setDecode(true);
|
||||
io.setADCDetection(true);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -226,7 +228,9 @@ void CYSFRX::processData(q15_t sample)
|
||||
m_lostCount--;
|
||||
if (m_lostCount == 0U) {
|
||||
DEBUG1("YSFRX: sync timed out, lost lock");
|
||||
|
||||
io.setDecode(false);
|
||||
io.setADCDetection(false);
|
||||
|
||||
serial.writeYSFLost();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user