Allow the unlink voice to be heard.

This commit is contained in:
Jonathan Naylor 2016-10-18 10:35:28 +01:00 committed by GitHub
parent f58bf29080
commit fb051e3866

View File

@ -283,6 +283,9 @@ void CP25Gateway::run()
lostTimer.stop(); lostTimer.stop();
} }
if (speech != NULL)
speech->announce(dstId);
currentId = dstId; currentId = dstId;
} }
@ -299,9 +302,6 @@ void CP25Gateway::run()
remoteNetwork.writePoll(currentAddr, currentPort); remoteNetwork.writePoll(currentAddr, currentPort);
remoteNetwork.writePoll(currentAddr, currentPort); remoteNetwork.writePoll(currentAddr, currentPort);
if (speech != NULL)
speech->announce(dstId);
pollTimer.start(); pollTimer.start();
lostTimer.start(); lostTimer.start();
} }