Skip to content

Commit

Permalink
rules: Change low fan to use fan level 1
Browse files Browse the repository at this point in the history
See discussion in #3.
  • Loading branch information
cdown committed Jun 7, 2022
1 parent f9bb1f0 commit 14bc16a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ zcfan has the following default fan states:
|-------------|-------------------------|------------------------------|
| max_temp | 7 | 90 |
| med_temp | 4 | 80 |
| low_temp | 2 | 70 |
| low_temp | 1 | 70 |

If no trip temperature is reached, the fan will be turned off.

Expand Down
2 changes: 1 addition & 1 deletion zcfan.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ struct Rule {
static struct Rule rules[] = {
[FAN_MAX] = {7, 90, "maximum"},
[FAN_MED] = {4, 80, "medium"},
[FAN_LOW] = {2, 70, "low"},
[FAN_LOW] = {1, 70, "low"},
[FAN_OFF] = {0, TEMP_MIN, "off"},
};

Expand Down

0 comments on commit 14bc16a

Please sign in to comment.