From 03c2f8990c286d6061ae2da7465a7febe23b6b34 Mon Sep 17 00:00:00 2001 From: coolneng Date: Tue, 5 Jul 2022 17:47:24 +0200 Subject: [PATCH] Unexport PWM timers when stopping sata-hat service --- scripts/SATA-hat.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/SATA-hat.sh b/scripts/SATA-hat.sh index 71822ca..abf44a2 100755 --- a/scripts/SATA-hat.sh +++ b/scripts/SATA-hat.sh @@ -44,7 +44,7 @@ enable_pwm_channel() { set_pwm() { enable_pwm_channel 1 if [ "$1" = "clean" ]; then - echo 0 >$PWM_PATH/unexport + echo 1 >$PWM_PATH/unexport fi }