Maldela пре 9 година
родитељ
комит
1b2b9fc21f
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      import/src/pwmfan.cpp

+ 1 - 1
import/src/pwmfan.cpp

@@ -88,7 +88,7 @@ PwmFan::PwmFan(Hwmon *parent, uint index) : Fan(parent, index),
             delete pwmFile;
         }
 
-        const auto pwmModeFile = new QFile(parent->path() + "/pwm" + QString::number(index) + "_mode", this);
+        const auto pwmModeFile = new QFile(parent->path() + "/pwm" + QString::number(index) + "_enable", this);
 
         if (pwmModeFile->open(QFile::ReadWrite))
         {