Kaynağa Gözat

Update pwmfan.cpp

Maldela 9 yıl önce
ebeveyn
işleme
c65d394c81
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      import/src/pwmfan.cpp

+ 1 - 1
import/src/pwmfan.cpp

@@ -444,7 +444,7 @@ void PwmFan::continueTest()
                 break;
             }
             else
-                setPwm(qMax(m_pwm + 2, 255));
+                setPwm(qMin(m_pwm + 2, 255));
         else
         {
             m_testStatus = FindingStop2;