Set DMR src id to default if no text frame received from USRP

This commit is contained in:
Doug McLain 2021-04-10 16:42:00 -04:00
parent 50cad357f5
commit a4aaabaf5c
1 changed files with 2 additions and 1 deletions

View File

@ -303,6 +303,7 @@ int CUSRP2DMR::run()
}
else if( (m_usrpFrame[20] == USRP_TYPE_VOICE) && (m_usrpFrame[15] == USRP_KEYUP_TRUE) ){
if(!m_usrpFrames){
m_dmrSrc = m_defsrcid;
m_conv.putUSRPHeader();
LogMessage("USRP voice received as first frame");
}