fixed whitespace and /dev/null redirection
This commit is contained in:
parent
e0c8d608de
commit
d10066072f
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 ?
|
||||
reset_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 ; \
|
||||
$$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
|
||||
|
||||
ispload: $(TARGET_EEP) $(TARGET_HEX) verify_size
|
||||
|
|
Loading…
Reference in a new issue