Compare commits
No commits in common. "d9b011585bec44154250f8861db201e3b3f80eb3" and "1723a4a872f5635343dffa70595e07d73b1b1f73" have entirely different histories.
d9b011585b
...
1723a4a872
|
@ -24,8 +24,8 @@
|
|||
"--searchbot"
|
||||
"searchook"
|
||||
"--persist"
|
||||
"--tls"
|
||||
"false"
|
||||
"-s"
|
||||
"irc.irchighway.net:9999"
|
||||
];
|
||||
};
|
||||
# Prometheus MQTT integration
|
||||
|
|
|
@ -6,7 +6,6 @@ PWM_PATH="$BASE_PATH"/pwm/pwmchip0
|
|||
|
||||
# GPIO pins
|
||||
CPU_FAN=12
|
||||
HDD_FAN=13
|
||||
|
||||
# Values
|
||||
LOW=0
|
||||
|
@ -50,13 +49,11 @@ set_pwm() {
|
|||
|
||||
turn_on() {
|
||||
set_gpio $CPU_FAN $HIGH
|
||||
set_gpio $HDD_FAN $HIGH
|
||||
set_pwm
|
||||
}
|
||||
|
||||
turn_off() {
|
||||
set_gpio $CPU_FAN $LOW clean
|
||||
set_gpio $HDD_FAN $LOW clean
|
||||
set_pwm clean
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue