Skip to content

Commit bec6008

Browse files
committed
[maple_upload] Reduce number of retries
1 parent 51eab0f commit bec6008

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

linux/maple_upload.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ if ! "${DIR}/upload-reset" "${dummy_port_fullpath}" 750; then
3434
sleep 2 # Wait for user to see message.
3535
fi
3636

37-
COUNTER=10
37+
COUNTER=5
3838
while
3939
"${DIR}/dfu-util.sh" -d "${usbID}" -a "${altID}" -D "${binfile}" ${dfuse_addr} -R
4040
((ret = $?))

macosx/maple_upload.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ if ! "${DIR}/upload-reset" "${dummy_port_fullpath}" 750; then
3434
sleep 2 # Wait for user to see message.
3535
fi
3636

37-
COUNTER=10
37+
COUNTER=5
3838
while
3939
"${DIR}/dfu-util.sh" -d "${usbID}" -a "${altID}" -D "${binfile}" ${dfuse_addr} -R
4040
((ret = $?))

0 commit comments

Comments
 (0)