From 0691ed7910a68d2680f9dad4180a2f7fbdd4fdb5 Mon Sep 17 00:00:00 2001 From: Volker Fischer Date: Sat, 21 Mar 2015 11:46:25 +0000 Subject: [PATCH] lowered green and yellow LED threshold for the overall delay --- src/clientdlg.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/clientdlg.cpp b/src/clientdlg.cpp index 98887241..99bbd0c8 100755 --- a/src/clientdlg.cpp +++ b/src/clientdlg.cpp @@ -928,16 +928,16 @@ void CClientDlg::OnPingTimeResult ( int iPingTime ) // calculate overall delay const int iOverallDelayMs = pClient->EstimatedOverallDelay ( iPingTime ); - // color definition: <= 45 ms green, <= 70 ms yellow, otherwise red + // color definition: <= 43 ms green, <= 68 ms yellow, otherwise red CMultiColorLED::ELightColor eOverallDelayLEDColor; - if ( iOverallDelayMs <= 45 ) + if ( iOverallDelayMs <= 43 ) { eOverallDelayLEDColor = CMultiColorLED::RL_GREEN; } else { - if ( iOverallDelayMs <= 70 ) + if ( iOverallDelayMs <= 68 ) { eOverallDelayLEDColor = CMultiColorLED::RL_YELLOW; }