Merge pull request #66 from sej7278/d10066072f2df78432f0b577853d533215ca2773
Fix whitespace and add /dev/null redirection
This commit is contained in:
commit
206b96c85c
2 changed files with 28 additions and 28 deletions
|
@ -887,10 +887,10 @@ reset:
|
||||||
# least. Perhaps it would be better to just do it in perl ?
|
# least. Perhaps it would be better to just do it in perl ?
|
||||||
reset_stty:
|
reset_stty:
|
||||||
for STTYF in 'stty -F' 'stty --file' 'stty -f' 'stty <' ; \
|
for STTYF in 'stty -F' 'stty --file' 'stty -f' 'stty <' ; \
|
||||||
do $$STTYF /dev/tty >/dev/null 2>/dev/null && break ; \
|
do $$STTYF /dev/tty >/dev/null 2>&1 && break ; \
|
||||||
done ;\
|
done ; \
|
||||||
$$STTYF $(call get_arduino_port) hupcl ;\
|
$$STTYF $(call get_arduino_port) hupcl ; \
|
||||||
(sleep 0.1 || sleep 1) ;\
|
(sleep 0.1 2>/dev/null || sleep 1) ; \
|
||||||
$$STTYF $(call get_arduino_port) -hupcl
|
$$STTYF $(call get_arduino_port) -hupcl
|
||||||
|
|
||||||
ispload: $(TARGET_EEP) $(TARGET_HEX) verify_size
|
ispload: $(TARGET_EEP) $(TARGET_HEX) verify_size
|
||||||
|
|
Loading…
Reference in a new issue