Skip to content

Commit

Permalink
Add -e to enable interpretation of escape characters
Browse files Browse the repository at this point in the history
  • Loading branch information
nooges authored and jackhumbert committed Jan 12, 2018
1 parent 8e0d9e2 commit fe8942e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tmk_core/avr.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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; \
Expand Down

0 comments on commit fe8942e

Please sign in to comment.