removed unused config variable
This commit is contained in:
@@ -2,7 +2,6 @@ loglevel: DEBUG
|
|||||||
|
|
||||||
thermalzones:
|
thermalzones:
|
||||||
- name: GPU+SYSTEM
|
- name: GPU+SYSTEM
|
||||||
hwmon: amdgpu
|
|
||||||
source: amdgpu/temp1_input
|
source: amdgpu/temp1_input
|
||||||
factor: 1000
|
factor: 1000
|
||||||
fan:
|
fan:
|
||||||
@@ -14,7 +13,6 @@ thermalzones:
|
|||||||
i: 1
|
i: 1
|
||||||
d: 1.5
|
d: 1.5
|
||||||
- name: CPU
|
- name: CPU
|
||||||
hwmon: it8686
|
|
||||||
source: coretemp/temp1_input
|
source: coretemp/temp1_input
|
||||||
factor: 1000
|
factor: 1000
|
||||||
fan:
|
fan:
|
||||||
|
1
pyfan.py
1
pyfan.py
@@ -20,7 +20,6 @@ class ThermalZone:
|
|||||||
self.factor = 1 / config["factor"]
|
self.factor = 1 / config["factor"]
|
||||||
self.name = config["name"]
|
self.name = config["name"]
|
||||||
self.target = config["target"]
|
self.target = config["target"]
|
||||||
self.hwname = config["hwmon"]
|
|
||||||
self.hwmap = hwmon_map
|
self.hwmap = hwmon_map
|
||||||
self.alias_replace = re.compile('|'.join(self.hwmap.keys()))
|
self.alias_replace = re.compile('|'.join(self.hwmap.keys()))
|
||||||
self.setup_pwm()
|
self.setup_pwm()
|
||||||
|
Reference in New Issue
Block a user