Browse Source

Merge pull request #713 from thomasgubler/regainaudio

Don't read out seconds since last connection on connection regain
QGC4.4
Lorenz Meier 11 years ago
parent
commit
562c3d2c56
  1. 2
      src/uas/UAS.cc

2
src/uas/UAS.cc

@ -350,7 +350,7 @@ void UAS::updateState() @@ -350,7 +350,7 @@ void UAS::updateState()
// Connection gained
if (connectionLost && (heartbeatInterval < timeoutIntervalHeartbeat))
{
QString audiostring = QString("Link regained to system %1 after %2 seconds").arg(this->getUASID()).arg((int)(connectionLossTime/1000000));
QString audiostring = QString("Link regained to system %1").arg(this->getUASID());
GAudioOutput::instance()->say(audiostring.toLower());
connectionLost = false;
connectionLossTime = 0;

Loading…
Cancel
Save