Browse Source

Update pwmfan.cpp

Maldela 9 years ago
parent
commit
1b2b9fc21f
1 changed files with 1 additions and 1 deletions
  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))
         {