Explorar o código

Update pwmfan.cpp

Maldela %!s(int64=9) %!d(string=hai) anos
pai
achega
1b2b9fc21f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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))
         {