adjust the limit for the green LED
This commit is contained in:
parent
d924380262
commit
8f3637d4a4
1 changed files with 2 additions and 2 deletions
|
@ -928,10 +928,10 @@ void CClientDlg::OnPingTimeResult ( int iPingTime )
|
||||||
// calculate overall delay
|
// calculate overall delay
|
||||||
const int iOverallDelayMs = pClient->EstimatedOverallDelay ( iPingTime );
|
const int iOverallDelayMs = pClient->EstimatedOverallDelay ( iPingTime );
|
||||||
|
|
||||||
// color definition: <= 42 ms green, <= 70 ms yellow, otherwise red
|
// color definition: <= 45 ms green, <= 70 ms yellow, otherwise red
|
||||||
CMultiColorLED::ELightColor eOverallDelayLEDColor;
|
CMultiColorLED::ELightColor eOverallDelayLEDColor;
|
||||||
|
|
||||||
if ( iOverallDelayMs <= 42 )
|
if ( iOverallDelayMs <= 45 )
|
||||||
{
|
{
|
||||||
eOverallDelayLEDColor = CMultiColorLED::RL_GREEN;
|
eOverallDelayLEDColor = CMultiColorLED::RL_GREEN;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue