changed bounds for LED for ping time

This commit is contained in:
Volker Fischer 2008-08-10 09:37:47 +00:00
parent c1e706e21f
commit ea73183ad9

View file

@ -235,8 +235,8 @@ void CClientSettingsDlg::OnTimerPing()
void CClientSettingsDlg::OnPingTimeResult ( int iPingTime ) void CClientSettingsDlg::OnPingTimeResult ( int iPingTime )
{ {
// color definition: < 20 ms green, < 50 ms yellow, otherwise red // color definition: < 27 ms green, < 50 ms yellow, otherwise red
if ( iPingTime < 20 ) if ( iPingTime < 27 )
{ {
CLEDPingTime->SetLight ( MUL_COL_LED_GREEN ); CLEDPingTime->SetLight ( MUL_COL_LED_GREEN );
} }