|
@@ -1206,7 +1206,7 @@ static void SetFanModuleSpeed(void)
|
|
_setFanSpeed = ShmFanModuleData->SetFan1Speed;
|
|
_setFanSpeed = ShmFanModuleData->SetFan1Speed;
|
|
}
|
|
}
|
|
|
|
|
|
- //printf("_setFanSpeed = %d \n", _setFanSpeed);
|
|
|
|
|
|
+ //log_info("_setFanSpeed = %d \n", _setFanSpeed);
|
|
_fanSpeed.speed[0] = _setFanSpeed;
|
|
_fanSpeed.speed[0] = _setFanSpeed;
|
|
|
|
|
|
_fanSpeed.speed[1] = _setFanSpeed;
|
|
_fanSpeed.speed[1] = _setFanSpeed;
|
|
@@ -1405,16 +1405,16 @@ static void fanBoardPorcess(void)
|
|
|
|
|
|
if (GetTimeoutValue(gFanBoardRunTimer) / 1000 >= 1000) {
|
|
if (GetTimeoutValue(gFanBoardRunTimer) / 1000 >= 1000) {
|
|
//GetPsuTempForFanSpeed();
|
|
//GetPsuTempForFanSpeed();
|
|
- GetFanSpeedByFunction();
|
|
|
|
|
|
+ //GetFanSpeedByFunction();
|
|
GetFanSpeed();
|
|
GetFanSpeed();
|
|
pSysInfo->SystemFanRotaSpeed = _setFanSpeed;
|
|
pSysInfo->SystemFanRotaSpeed = _setFanSpeed;
|
|
gettimeofday(&gFanBoardRunTimer, NULL);
|
|
gettimeofday(&gFanBoardRunTimer, NULL);
|
|
-
|
|
|
|
|
|
+ /*
|
|
ShmFanModuleData->SetFan1Speed = ShmFanModuleData->TestFanSpeed;
|
|
ShmFanModuleData->SetFan1Speed = ShmFanModuleData->TestFanSpeed;
|
|
ShmFanModuleData->SetFan2Speed = ShmFanModuleData->TestFanSpeed;
|
|
ShmFanModuleData->SetFan2Speed = ShmFanModuleData->TestFanSpeed;
|
|
ShmFanModuleData->SetFan3Speed = ShmFanModuleData->TestFanSpeed;
|
|
ShmFanModuleData->SetFan3Speed = ShmFanModuleData->TestFanSpeed;
|
|
ShmFanModuleData->SetFan4Speed = ShmFanModuleData->TestFanSpeed;
|
|
ShmFanModuleData->SetFan4Speed = ShmFanModuleData->TestFanSpeed;
|
|
-
|
|
|
|
|
|
+ */
|
|
//log_info("set fan = %d ", ShmFanModuleData->SetFan1Speed);
|
|
//log_info("set fan = %d ", ShmFanModuleData->SetFan1Speed);
|
|
SetFanModuleSpeed();
|
|
SetFanModuleSpeed();
|
|
}
|
|
}
|