mirror of
https://github.com/EttusResearch/uhd.git
synced 2026-10-25 17:36:10 +00:00
mpm: e320: fix reading of FAN speed
The fan is named fan0 in the hwmon based implementation.
This commit is contained in:
parent
29c459f1b3
commit
dfc1ad17c3
@ -647,7 +647,7 @@ class e320(ZynqComponents, PeriphManagerBase):
|
||||
if not self._hwmon_based_sensors:
|
||||
return_val = self._temp_fan_sensors.read_fan_sensor_value("Fan", "cur_state")
|
||||
else:
|
||||
return_val = self._temp_fan_sensors.read_fan_sensor_value("fan1")
|
||||
return_val = self._temp_fan_sensors.read_fan_sensor_value("fan0")
|
||||
|
||||
return return_val
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user