mirror of
https://github.com/ShaYmez/MMDVM_CM.git
synced 2025-07-18 23:15:25 -04:00
Set DMR src id to default if no text frame received from USRP
This commit is contained in:
parent
50cad357f5
commit
a4aaabaf5c
@ -302,7 +302,8 @@ int CUSRP2DMR::run()
|
|||||||
m_usrpFrames++;
|
m_usrpFrames++;
|
||||||
}
|
}
|
||||||
else if( (m_usrpFrame[20] == USRP_TYPE_VOICE) && (m_usrpFrame[15] == USRP_KEYUP_TRUE) ){
|
else if( (m_usrpFrame[20] == USRP_TYPE_VOICE) && (m_usrpFrame[15] == USRP_KEYUP_TRUE) ){
|
||||||
if(!m_usrpFrames){
|
if(!m_usrpFrames){
|
||||||
|
m_dmrSrc = m_defsrcid;
|
||||||
m_conv.putUSRPHeader();
|
m_conv.putUSRPHeader();
|
||||||
LogMessage("USRP voice received as first frame");
|
LogMessage("USRP voice received as first frame");
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user