Unexport PWM timers when stopping sata-hat service

This commit is contained in:
coolneng 2022-07-05 17:47:24 +02:00
parent 03091fb9b8
commit 03c2f8990c
Signed by: coolneng
GPG Key ID: 9893DA236405AF57

View File

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