]> git.droids-corp.org - aversive.git/commitdiff
prog_fuse: sleep between commands
authorOlivier Matz <zer0@droids-corp.org>
Tue, 6 Aug 2013 19:48:37 +0000 (21:48 +0200)
committerOlivier Matz <zer0@droids-corp.org>
Tue, 6 Aug 2013 19:48:37 +0000 (21:48 +0200)
config/prog_fuses.sh

index 8db50901d71407f61e405ad8393a2f13191b7809..1719764b602044d342341a0696336b57fe778f51 100755 (executable)
@@ -145,6 +145,7 @@ do
        if [ ! -f $f ]; then
                CANNOT_READ=1
        fi
+       sleep 1
 done
 
 echo
@@ -256,6 +257,7 @@ do
                                ${AVRDUDE} -p ${MCU} -P ${PORT} \
                                        -c ${AVRDUDE_PROGRAMMER} \
                                        -U ${f}:w:${f}_new:i ${DELAY}
+                               sleep 1
                        done
                        exit 0
                        ;;