mirror of
https://github.com/ShaYmez/MMDVM_CM.git
synced 2024-11-05 23:51:18 -05:00
Update YSF2P25.cpp
Helps to give voice feedback on connect. Sending the PTT to TG10 (Parrot) and then TG9999 (Disconnect) forces the voice feedback on connect. If there is already a link request in the WiresX connect, PTT to that TG, again makes the connection happen and provides voice feedback.
This commit is contained in:
parent
4dc661827e
commit
32bae50806
@ -388,6 +388,12 @@ int CYSF2P25::run()
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case WXS_DX:
|
case WXS_DX:
|
||||||
|
if (!m_wiresX->getDstID()) {
|
||||||
|
sendP25PTT(m_srcid, 10U);
|
||||||
|
sendP25PTT(m_srcid, 9999U);
|
||||||
|
} else {
|
||||||
|
sendP25PTT(m_srcid, m_wiresX->getDstID());
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case WXS_DISCONNECT:
|
case WXS_DISCONNECT:
|
||||||
|
Loading…
Reference in New Issue
Block a user