Use unit instead of nanoseconds
This commit is contained in:
@@ -80,7 +80,7 @@ blink_leds() {
|
||||
eval "old_$color=$percent" # store old value
|
||||
done
|
||||
|
||||
sxmo_wakelock.sh lock playing_with_leds 2000000000
|
||||
sxmo_wakelock.sh lock playing_with_leds 2s
|
||||
trap 'finish_blinking' TERM INT EXIT
|
||||
|
||||
while [ -n "$1" ]; do
|
||||
|
@@ -286,6 +286,6 @@ processmms() {
|
||||
fi
|
||||
}
|
||||
|
||||
sxmo_wakelock.sh lock mms_processing 30000000000
|
||||
sxmo_wakelock.sh lock mms_processing 30s
|
||||
"$@"
|
||||
sxmo_wakelock.sh unlock mms_processing
|
||||
|
@@ -264,6 +264,6 @@ checkfornewtexts() {
|
||||
done
|
||||
}
|
||||
|
||||
sxmo_wakelock.sh lock modem_used 30000000000
|
||||
sxmo_wakelock.sh lock modem_used 30s
|
||||
"$@"
|
||||
sxmo_wakelock.sh unlock modem_used
|
||||
|
Reference in New Issue
Block a user