diff options
author | Tommy Hudson | 2021-08-17 11:11:45 +0100 |
---|---|---|
committer | Tommy Hudson | 2021-08-17 11:43:42 +0100 |
commit | eb205891cd1143365822279d2389d980027a0ee0 (patch) | |
tree | cc80a90fc5ffc05822a52e5f01e03fd39dc45b04 /dont-mess-with-fans.patch | |
parent | 83fe7c169284956e025ab5e80dddba5d28273c03 (diff) | |
download | aur-eb205891cd1143365822279d2389d980027a0ee0.tar.gz |
Patch out fan control when in automatic mode
Diffstat (limited to 'dont-mess-with-fans.patch')
-rw-r--r-- | dont-mess-with-fans.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/dont-mess-with-fans.patch b/dont-mess-with-fans.patch new file mode 100644 index 000000000000..d2b225c85ebb --- /dev/null +++ b/dont-mess-with-fans.patch @@ -0,0 +1,13 @@ +diff --git a/src/core/components/controls/amd/fan/auto/fanauto.cpp b/src/core/components/controls/amd/fan/auto/fanauto.cpp +index 021d6aa..7ea6062 100644 +--- a/src/core/components/controls/amd/fan/auto/fanauto.cpp ++++ b/src/core/components/controls/amd/fan/auto/fanauto.cpp +@@ -59,8 +59,4 @@ void AMD::FanAuto::cleanControl(ICommandQueue &) + + void AMD::FanAuto::syncControl(ICommandQueue &ctlCmds) + { +- if (dataSource_->read(pwmEnable_)) { +- if (pwmEnable_ != 2) +- ctlCmds.add({dataSource_->source(), "2"}); +- } + } |