Merge pull request #66 from sej7278/d10066072f2df78432f0b577853d533215ca2773

Fix whitespace and add /dev/null redirection
This commit is contained in:
Sudar 2013-06-13 02:19:36 -07:00
commit 206b96c85c
2 changed files with 28 additions and 28 deletions

View file

@ -887,10 +887,10 @@ reset:
# least. Perhaps it would be better to just do it in perl ?
reset_stty:
for STTYF in 'stty -F' 'stty --file' 'stty -f' 'stty <' ; \
do $$STTYF /dev/tty >/dev/null 2>/dev/null && break ; \
done ;\
$$STTYF $(call get_arduino_port) hupcl ;\
(sleep 0.1 || sleep 1) ;\
do $$STTYF /dev/tty >/dev/null 2>&1 && break ; \
done ; \
$$STTYF $(call get_arduino_port) hupcl ; \
(sleep 0.1 2>/dev/null || sleep 1) ; \
$$STTYF $(call get_arduino_port) -hupcl
ispload: $(TARGET_EEP) $(TARGET_HEX) verify_size