mirror of
https://github.com/g4klx/MMDVM.git
synced 2026-04-06 23:15:14 +00:00
Simplify logic of the DMR receiver and narrow the sync scan range.
This commit is contained in:
parent
da9846c8f1
commit
11b18207ff
4 changed files with 40 additions and 38 deletions
|
|
@ -34,11 +34,9 @@ void CDMRRX::samples(const q15_t* samples, const uint8_t* control, uint8_t lengt
|
|||
for (uint16_t i = 0U; i < length; i++) {
|
||||
switch (control[i]) {
|
||||
case MARK_SLOT1:
|
||||
m_slot2RX.stop();
|
||||
m_slot1RX.start();
|
||||
break;
|
||||
case MARK_SLOT2:
|
||||
m_slot1RX.stop();
|
||||
m_slot2RX.start();
|
||||
break;
|
||||
default:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue