We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cd7b7d7 commit 088b1dfCopy full SHA for 088b1df
tools/macosx/maple_upload
@@ -55,7 +55,7 @@ ${DFU_UTIL} -d ${usbID} -a ${altID} -D ${binfile} -R ${dfuse_addr} -R
55
echo -n Waiting for ${dummy_port_fullpath} serial...
56
57
COUNTER=0
58
-while [ ! -c ${dummy_port_fullpath} ] && ((COUNTER++ < 40)); do
+while ! dd if=${dummy_port_fullpath} of=/dev/null count=0 > /dev/null 2>&1 && ((COUNTER++ < 40)); do
59
sleep 0.1
60
done
61
0 commit comments