some buxfixes in volume control
This commit is contained in:
parent
254ab42c47
commit
e9b1105168
|
@ -69,7 +69,8 @@ while true; do
|
|||
sleep $volumetimeout
|
||||
done
|
||||
|
||||
sleep $((pollingtime * 2))
|
||||
volumedelay=$((pollingtime * 2))
|
||||
sleep $volumedelay
|
||||
|
||||
elif [ "$volumevalue" -gt 0 ] && [ "$swdownstat" -eq 0 ]; then
|
||||
|
||||
|
@ -80,7 +81,8 @@ while true; do
|
|||
sleep $volumetimeout
|
||||
done
|
||||
|
||||
sleep $((pollingtime * 2))
|
||||
volumedelay=$((pollingtime * 2))
|
||||
sleep $volumedelay
|
||||
|
||||
elif [ "$buzzerstat" -eq 1 ] && [ "$swupstat" -eq 0 ]; then
|
||||
sleep $pollingtime
|
||||
|
|
Loading…
Reference in New Issue