diff --git a/adl.c b/adl.c index dff6794f..2941df7d 100644 --- a/adl.c +++ b/adl.c @@ -538,6 +538,9 @@ void init_adl(int nDevs) if (ADL_Overdrive5_FanSpeedInfo_Get(iAdapterIndex, 0, &ga->lpFanSpeedInfo) != ADL_OK) applog(LOG_INFO, "Failed to ADL_Overdrive5_FanSpeedInfo_Get"); + + if(!(ga->lpFanSpeedInfo.iFlags & (ADL_DL_FANCTRL_SUPPORTS_RPM_WRITE | ADL_DL_FANCTRL_SUPPORTS_PERCENT_WRITE))) + ga->has_fanspeed = false; else ga->has_fanspeed = true;