Unexport PWM timers when stopping sata-hat service
This commit is contained in:
parent
03091fb9b8
commit
03c2f8990c
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user