From 20b98ef82864fc78365c5380fc10993cf262c2cc Mon Sep 17 00:00:00 2001 From: LukeZGD <26163116+LukeZGD@users.noreply.github.com> Date: Mon, 5 Sep 2022 15:59:11 +0800 Subject: [PATCH] Adjust timeout of FindDevice --- resources/device.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/device.sh b/resources/device.sh index cad1689..ee73882 100755 --- a/resources/device.sh +++ b/resources/device.sh @@ -14,7 +14,7 @@ FindDevice() { elif [[ $1 == "Restore" ]]; then USB=1297 fi - [[ -n $2 ]] && Timeout=5 + [[ -n $2 ]] && Timeout=10 Log "Finding device in $1 mode..." while (( i < Timeout )); do