mirror of https://github.com/ShaYmez/MMDVM_CM.git
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++;
|
||||
}
|
||||
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();
|
||||
LogMessage("USRP voice received as first frame");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue