adjust the limit for the green LED

This commit is contained in:
Volker Fischer 2015-03-13 21:29:14 +00:00
parent d924380262
commit 8f3637d4a4

View file

@ -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;
} }