change sleep for volume control
This commit is contained in:
parent
0e52c8d26c
commit
254ab42c47
1 changed files with 4 additions and 0 deletions
|
@ -69,6 +69,8 @@ while true; do
|
||||||
sleep $volumetimeout
|
sleep $volumetimeout
|
||||||
done
|
done
|
||||||
|
|
||||||
|
sleep $((pollingtime * 2))
|
||||||
|
|
||||||
elif [ "$volumevalue" -gt 0 ] && [ "$swdownstat" -eq 0 ]; then
|
elif [ "$volumevalue" -gt 0 ] && [ "$swdownstat" -eq 0 ]; then
|
||||||
|
|
||||||
while [ "$volumevalue" -gt 0 ] && [ "$swdownstat" -eq 0 ]; do
|
while [ "$volumevalue" -gt 0 ] && [ "$swdownstat" -eq 0 ]; do
|
||||||
|
@ -78,6 +80,8 @@ while true; do
|
||||||
sleep $volumetimeout
|
sleep $volumetimeout
|
||||||
done
|
done
|
||||||
|
|
||||||
|
sleep $((pollingtime * 2))
|
||||||
|
|
||||||
elif [ "$buzzerstat" -eq 1 ] && [ "$swupstat" -eq 0 ]; then
|
elif [ "$buzzerstat" -eq 1 ] && [ "$swupstat" -eq 0 ]; then
|
||||||
sleep $pollingtime
|
sleep $pollingtime
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue