1
0
Fork 0

Add -e to enable interpretation of escape characters

This commit is contained in:
Danny Nguyen 2018-01-12 12:12:19 -05:00 committed by Jack Humbert
parent 8e0d9e2637
commit fe8942e55c
1 changed files with 2 additions and 2 deletions

View File

@ -173,10 +173,10 @@ avrdude: $(BUILD_DIR)/$(TARGET).hex check-size
echo 'ERROR: AVR flashing cannot be automated within the Windows Subsystem for Linux (WSL) currently. Instead, take the .hex file generated and flash it using AVRDUDE, AVRDUDESS, or XLoader.'; \
else \
ls /dev/tty* > /tmp/1; \
echo "Detecting USB port, reset your controller now.\c"; \
echo -e "Detecting USB port, reset your controller now.\c"; \
while [ -z $$USB ]; do \
sleep 1; \
echo ".\c"; \
echo -e ".\c"; \
ls /dev/tty* > /tmp/2; \
USB=`diff /tmp/1 /tmp/2 | grep -o '/dev/tty.*'`; \
done; \