|
|
@ -49,7 +49,7 @@ void PWMSpeedCtrlModule::onfbgpioirq(int32_t fanindex) { |
|
|
|
int32_t PWMSpeedCtrlModule::startModule(int32_t duty) { |
|
|
|
// ZLOGI("startModule duty:%d", duty);
|
|
|
|
zlock_guard lck(m_mutex); |
|
|
|
if (duty < 20) duty = 20; |
|
|
|
if (duty < 0) duty = 0; |
|
|
|
fanisworking = true; |
|
|
|
|
|
|
|
clearError(); |
|
|
|