mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-10-26 12:24:33 +00:00
Drop DataType_mhz, libsensors doesn't support this kind of feature.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4804 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
8c817feaca
commit
bf9d0e2de6
3 files changed
-7
No files matched your search
@@ -946,8 +946,6 @@ static const FeatureDescriptor maxilife_features[] = {
|
||||
{ SENSORS_MAXI_CG_FAN2, SENSORS_MAXI_CG_FAN2_MIN, SENSORS_MAXI_CG_FAN2_DIV, -1 } },
|
||||
{ fmtFans_Maxilife, rrdFans_Maxilife, DataType_rpm, MAXI_ALARM_FAN3, 0,
|
||||
{ SENSORS_MAXI_CG_FAN3, SENSORS_MAXI_CG_FAN3_MIN, SENSORS_MAXI_CG_FAN3_DIV, -1 } },
|
||||
{ fmtMHz_Maxilife, rrdMHz_Maxilife, DataType_mhz, MAXI_ALARM_PLL, 0,
|
||||
{ SENSORS_MAXI_CG_PLL, SENSORS_MAXI_CG_PLL_MIN, SENSORS_MAXI_CG_PLL_MAX, -1 } },
|
||||
{ fmtVolts_Maxilife, rrdVolts_Maxilife, DataType_voltage, MAXI_ALARM_VID1, 0,
|
||||
{ SENSORS_MAXI_CG_VID1, SENSORS_MAXI_CG_VID1_MIN, SENSORS_MAXI_CG_VID1_MAX, -1 } },
|
||||
{ fmtVolts_Maxilife, rrdVolts_Maxilife, DataType_voltage, MAXI_ALARM_VID2, 0,
|
||||
|
||||
@@ -203,10 +203,6 @@ rrdGetSensors_DS
|
||||
min = "0";
|
||||
max = "250";
|
||||
break;
|
||||
case DataType_mhz:
|
||||
min = "0";
|
||||
max = "U";
|
||||
break;
|
||||
default:
|
||||
min = max = "U";
|
||||
break;
|
||||
|
||||
@@ -82,7 +82,6 @@ typedef enum {
|
||||
DataType_voltage = 0,
|
||||
DataType_rpm,
|
||||
DataType_temperature,
|
||||
DataType_mhz,
|
||||
DataType_other = -1
|
||||
} DataType;
|
||||
|
||||
|
||||
Reference in new issue
Block a user