Explorar o código

Another fix for hwmons with pwms in their device subdirectory

Malte Veerman %!s(int64=5) %!d(string=hai) anos
pai
achega
e0801cf274
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      import/src/hwmon.cpp

+ 1 - 1
import/src/hwmon.cpp

@@ -170,7 +170,7 @@ void Hwmon::initialize()
 
             if (entry.contains(QStringLiteral("fan")))
             {
-                if (QFile::exists(m_path + "/pwm" + QString::number(index)))
+                if (QFile::exists(m_path + "/device/pwm" + QString::number(index)))
                 {
                     if (!m_pwmFans.contains(index))
                     {