lowered green and yellow LED threshold for the overall delay
This commit is contained in:
parent
bb4402ed98
commit
0691ed7910
1 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue