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:
Andy CA6JAU 2020-06-20 13:33:15 -04:00 committed by GitHub
commit 3daeb9878c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 5 deletions

View File

@ -377,7 +377,12 @@ int CP252DMR::run()
m_p25Dst = dstId;
if(!m_xlxConnected){
m_dstid = m_p25Dst;
if(m_p25Dst == 20U) {
m_dstid = m_conf.getDMRDstId();
}
else{
m_dstid = m_p25Dst;
}
}
} else if (m_p25Frame[0U] == 0x66U && !m_p25info) {
@ -783,15 +788,12 @@ int CP252DMR::run()
pollTimer.start();
}
m_dmrNetwork->clock(ms);
if (m_xlxReflectors != NULL)
m_xlxReflectors->clock(ms);
if (ms < 5U)
CThread::sleep(5U);
//if (ms < 5U) CThread::sleep(5U);
}
m_p25Network->close();