make latency too high trigger at lower value

merge-requests/9/merge
Phil Taylor 2022-05-11 00:01:04 +01:00
rodzic 00f15a059e
commit 498f5020a5
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -210,7 +210,7 @@ void udpHandler::dataReceived()
}
QString tempLatency;
if (status.rxCurrentLatency < status.rxLatency*1.2 && !status.rxUnderrun && !status.rxOverrun)
if (status.rxCurrentLatency <= status.rxLatency && !status.rxUnderrun && !status.rxOverrun)
{
tempLatency = QString("%1 ms").arg(status.rxCurrentLatency,3);
}