changed bounds for LED for ping time
This commit is contained in:
parent
c1e706e21f
commit
ea73183ad9
1 changed files with 2 additions and 2 deletions
|
@ -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 );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue