~ruther/qmk_firmware

fe8942e55c9e3131f08927cb31761e56b576be71 — Danny Nguyen 7 years ago 8e0d9e2
Add -e to enable interpretation of escape characters
1 files changed, 2 insertions(+), 2 deletions(-)

M tmk_core/avr.mk
M tmk_core/avr.mk => tmk_core/avr.mk +2 -2
@@ 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; \