mirror of
https://github.com/ShaYmez/MMDVM_CM.git
synced 2025-08-13 10:12:26 -04:00
Merge pull request #41 from nostar/master
I didn't realize this until now, that P25 radios only support 16 bit …
This commit is contained in:
commit
3daeb9878c
@ -377,8 +377,13 @@ int CP252DMR::run()
|
|||||||
m_p25Dst = dstId;
|
m_p25Dst = dstId;
|
||||||
|
|
||||||
if(!m_xlxConnected){
|
if(!m_xlxConnected){
|
||||||
|
if(m_p25Dst == 20U) {
|
||||||
|
m_dstid = m_conf.getDMRDstId();
|
||||||
|
}
|
||||||
|
else{
|
||||||
m_dstid = m_p25Dst;
|
m_dstid = m_p25Dst;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
} else if (m_p25Frame[0U] == 0x66U && !m_p25info) {
|
} else if (m_p25Frame[0U] == 0x66U && !m_p25info) {
|
||||||
srcId = (m_p25Frame[1U] << 16) & 0xFF0000U;
|
srcId = (m_p25Frame[1U] << 16) & 0xFF0000U;
|
||||||
@ -783,15 +788,12 @@ int CP252DMR::run()
|
|||||||
pollTimer.start();
|
pollTimer.start();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
m_dmrNetwork->clock(ms);
|
m_dmrNetwork->clock(ms);
|
||||||
|
|
||||||
if (m_xlxReflectors != NULL)
|
if (m_xlxReflectors != NULL)
|
||||||
m_xlxReflectors->clock(ms);
|
m_xlxReflectors->clock(ms);
|
||||||
|
|
||||||
|
//if (ms < 5U) CThread::sleep(5U);
|
||||||
if (ms < 5U)
|
|
||||||
CThread::sleep(5U);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
m_p25Network->close();
|
m_p25Network->close();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user