Compare commits

..

No commits in common. "d9b011585bec44154250f8861db201e3b3f80eb3" and "1723a4a872f5635343dffa70595e07d73b1b1f73" have entirely different histories.

2 changed files with 2 additions and 5 deletions

View File

@ -24,8 +24,8 @@
"--searchbot"
"searchook"
"--persist"
"--tls"
"false"
"-s"
"irc.irchighway.net:9999"
];
};
# Prometheus MQTT integration

View File

@ -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
}