mirror of
https://github.com/ShaYmez/MMDVM_CM.git
synced 2025-06-24 12:35:16 -04:00
Clear USRP callsign if no meta/text header frame is received
This commit is contained in:
parent
11ae0b71b9
commit
d4ddca002c
@ -464,7 +464,8 @@ int CUSRP2M17::run()
|
||||
m_usrpFrames++;
|
||||
}
|
||||
else if( (m_usrpFrame[20] == USRP_TYPE_VOICE) && (m_usrpFrame[15] == USRP_KEYUP_TRUE) ){
|
||||
if(!m_usrpFrames){
|
||||
if(!m_usrpFrames){
|
||||
m_usrpcs.clear();
|
||||
m_conv.putUSRPHeader();
|
||||
LogMessage("USRP voice received as first frame");
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user