Changeset 4791
- Timestamp:
- 09/08/07 12:47:03 (6 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
lm-sensors/branches/lm-sensors-3.0.0/prog/sensors/chips.c
r4774 r4791 199 199 } 200 200 } 201 } else if (TEMP_FEATURE(SENSORS_FEATURE_TEMP_CRIT)) { 202 limit1 = TEMP_FEATURE_VAL(SENSORS_FEATURE_TEMP_CRIT); 203 s1 = "crit"; 204 205 if (TEMP_FEATURE(SENSORS_FEATURE_TEMP_CRIT_HYST)) { 206 limit2 = TEMP_FEATURE_VAL(SENSORS_FEATURE_TEMP_CRIT_HYST); 207 s2 = "hyst"; 208 } else { 209 limit2 = 0; 210 s2 = NULL; 211 } 212 213 if (TEMP_FEATURE(SENSORS_FEATURE_TEMP_CRIT_ALARM) && 214 TEMP_FEATURE_VAL(SENSORS_FEATURE_TEMP_CRIT_ALARM)) 215 alarm |= 1; 216 crit_displayed = 1; 201 217 } else { 202 218 limit1 = limit2 = 0;
