Use unit instead of nanoseconds

This commit is contained in:
Willow Barraco
2023-02-24 19:21:21 +01:00
parent 75c34e3f10
commit 7af66e1ea8
7 changed files with 8 additions and 8 deletions

View File

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

View File

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

View File

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