-static sensors_labeltypes_t known_features[] =
-{
- { "fan1", SENSOR_TYPE_FANSPEED },
- { "fan2", SENSOR_TYPE_FANSPEED },
- { "fan3", SENSOR_TYPE_FANSPEED },
- { "fan4", SENSOR_TYPE_FANSPEED },
- { "fan5", SENSOR_TYPE_FANSPEED },
- { "fan6", SENSOR_TYPE_FANSPEED },
- { "fan7", SENSOR_TYPE_FANSPEED },
- { "AIN2", SENSOR_TYPE_VOLTAGE },
- { "AIN1", SENSOR_TYPE_VOLTAGE },
- { "in10", SENSOR_TYPE_VOLTAGE },
- { "in9", SENSOR_TYPE_VOLTAGE },
- { "in8", SENSOR_TYPE_VOLTAGE },
- { "in7", SENSOR_TYPE_VOLTAGE },
- { "in6", SENSOR_TYPE_VOLTAGE },
- { "in5", SENSOR_TYPE_VOLTAGE },
- { "in4", SENSOR_TYPE_VOLTAGE },
- { "in3", SENSOR_TYPE_VOLTAGE },
- { "in2", SENSOR_TYPE_VOLTAGE },
- { "in0", SENSOR_TYPE_VOLTAGE },
- { "CPU_Temp", SENSOR_TYPE_TEMPERATURE },
- { "remote_temp", SENSOR_TYPE_TEMPERATURE },
- { "temp1", SENSOR_TYPE_TEMPERATURE },
- { "temp2", SENSOR_TYPE_TEMPERATURE },
- { "temp3", SENSOR_TYPE_TEMPERATURE },
- { "temp4", SENSOR_TYPE_TEMPERATURE },
- { "temp5", SENSOR_TYPE_TEMPERATURE },
- { "temp6", SENSOR_TYPE_TEMPERATURE },
- { "temp7", SENSOR_TYPE_TEMPERATURE },
- { "temp", SENSOR_TYPE_TEMPERATURE },
- { "Vccp2", SENSOR_TYPE_VOLTAGE },
- { "Vccp1", SENSOR_TYPE_VOLTAGE },
- { "vdd", SENSOR_TYPE_VOLTAGE },
- { "vid5", SENSOR_TYPE_VOLTAGE },
- { "vid4", SENSOR_TYPE_VOLTAGE },
- { "vid3", SENSOR_TYPE_VOLTAGE },
- { "vid2", SENSOR_TYPE_VOLTAGE },
- { "vid1", SENSOR_TYPE_VOLTAGE },
- { "vid", SENSOR_TYPE_VOLTAGE },
- { "vin4", SENSOR_TYPE_VOLTAGE },
- { "vin3", SENSOR_TYPE_VOLTAGE },
- { "vin2", SENSOR_TYPE_VOLTAGE },
- { "vin1", SENSOR_TYPE_VOLTAGE },
- { "voltbatt", SENSOR_TYPE_VOLTAGE },
- { "volt12", SENSOR_TYPE_VOLTAGE },
- { "volt5", SENSOR_TYPE_VOLTAGE },
- { "vrm", SENSOR_TYPE_VOLTAGE },
- { "5.0V", SENSOR_TYPE_VOLTAGE },
- { "5V", SENSOR_TYPE_VOLTAGE },
- { "3.3V", SENSOR_TYPE_VOLTAGE },
- { "2.5V", SENSOR_TYPE_VOLTAGE },
- { "2.0V", SENSOR_TYPE_VOLTAGE },
- { "12V", SENSOR_TYPE_VOLTAGE },
- { "power1", SENSOR_TYPE_POWER }
-};
-static int known_features_num = STATIC_ARRAY_SIZE (known_features);
+static sensors_labeltypes_t known_features[] = {
+ {"fan1", SENSOR_TYPE_FANSPEED},
+ {"fan2", SENSOR_TYPE_FANSPEED},
+ {"fan3", SENSOR_TYPE_FANSPEED},
+ {"fan4", SENSOR_TYPE_FANSPEED},
+ {"fan5", SENSOR_TYPE_FANSPEED},
+ {"fan6", SENSOR_TYPE_FANSPEED},
+ {"fan7", SENSOR_TYPE_FANSPEED},
+ {"AIN2", SENSOR_TYPE_VOLTAGE},
+ {"AIN1", SENSOR_TYPE_VOLTAGE},
+ {"in10", SENSOR_TYPE_VOLTAGE},
+ {"in9", SENSOR_TYPE_VOLTAGE},
+ {"in8", SENSOR_TYPE_VOLTAGE},
+ {"in7", SENSOR_TYPE_VOLTAGE},
+ {"in6", SENSOR_TYPE_VOLTAGE},
+ {"in5", SENSOR_TYPE_VOLTAGE},
+ {"in4", SENSOR_TYPE_VOLTAGE},
+ {"in3", SENSOR_TYPE_VOLTAGE},
+ {"in2", SENSOR_TYPE_VOLTAGE},
+ {"in0", SENSOR_TYPE_VOLTAGE},
+ {"CPU_Temp", SENSOR_TYPE_TEMPERATURE},
+ {"remote_temp", SENSOR_TYPE_TEMPERATURE},
+ {"temp1", SENSOR_TYPE_TEMPERATURE},
+ {"temp2", SENSOR_TYPE_TEMPERATURE},
+ {"temp3", SENSOR_TYPE_TEMPERATURE},
+ {"temp4", SENSOR_TYPE_TEMPERATURE},
+ {"temp5", SENSOR_TYPE_TEMPERATURE},
+ {"temp6", SENSOR_TYPE_TEMPERATURE},
+ {"temp7", SENSOR_TYPE_TEMPERATURE},
+ {"temp", SENSOR_TYPE_TEMPERATURE},
+ {"Vccp2", SENSOR_TYPE_VOLTAGE},
+ {"Vccp1", SENSOR_TYPE_VOLTAGE},
+ {"vdd", SENSOR_TYPE_VOLTAGE},
+ {"vid5", SENSOR_TYPE_VOLTAGE},
+ {"vid4", SENSOR_TYPE_VOLTAGE},
+ {"vid3", SENSOR_TYPE_VOLTAGE},
+ {"vid2", SENSOR_TYPE_VOLTAGE},
+ {"vid1", SENSOR_TYPE_VOLTAGE},
+ {"vid", SENSOR_TYPE_VOLTAGE},
+ {"vin4", SENSOR_TYPE_VOLTAGE},
+ {"vin3", SENSOR_TYPE_VOLTAGE},
+ {"vin2", SENSOR_TYPE_VOLTAGE},
+ {"vin1", SENSOR_TYPE_VOLTAGE},
+ {"voltbatt", SENSOR_TYPE_VOLTAGE},
+ {"volt12", SENSOR_TYPE_VOLTAGE},
+ {"volt5", SENSOR_TYPE_VOLTAGE},
+ {"vrm", SENSOR_TYPE_VOLTAGE},
+ {"5.0V", SENSOR_TYPE_VOLTAGE},
+ {"5V", SENSOR_TYPE_VOLTAGE},
+ {"3.3V", SENSOR_TYPE_VOLTAGE},
+ {"2.5V", SENSOR_TYPE_VOLTAGE},
+ {"2.0V", SENSOR_TYPE_VOLTAGE},
+ {"12V", SENSOR_TYPE_VOLTAGE},
+ {"power1", SENSOR_TYPE_POWER}};
+static int known_features_num = STATIC_ARRAY_SIZE(known_features);