projects
/
psensor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed type 'thresold' instead of 'threshold'
[psensor.git]
/
src
/
main.c
diff --git
a/src/main.c
b/src/main.c
index
61b920d
..
c1a6e10
100644
(file)
--- a/
src/main.c
+++ b/
src/main.c
@@
-291,16
+291,16
@@
associate_cb_alarm_raised(struct psensor **sensors, struct ui_psensor *ui)
s->cb_alarm_raised = cb_alarm_raised;
s->cb_alarm_raised_data = ui;
s->cb_alarm_raised = cb_alarm_raised;
s->cb_alarm_raised_data = ui;
- s->alarm_high_thresold
- = config_get_sensor_alarm_high_thresold(s->id);
- s->alarm_low_thresold
- = config_get_sensor_alarm_low_thresold(s->id);
+ s->alarm_high_thres
h
old
+ = config_get_sensor_alarm_high_thres
h
old(s->id);
+ s->alarm_low_thres
h
old
+ = config_get_sensor_alarm_low_thres
h
old(s->id);
if (is_temp_type(s->type) || is_fan_type(s->type)) {
s->alarm_enabled
= config_get_sensor_alarm_enabled(s->id);
} else {
if (is_temp_type(s->type) || is_fan_type(s->type)) {
s->alarm_enabled
= config_get_sensor_alarm_enabled(s->id);
} else {
- s->alarm_high_thresold = 0;
+ s->alarm_high_thres
h
old = 0;
s->alarm_enabled = 0;
}
s->alarm_enabled = 0;
}