summaryrefslogtreecommitdiffstats
path: root/tmk_core
diff options
context:
space:
mode:
authorDanny Nguyen <danny@keeb.io>2018-01-12 18:12:19 +0100
committerJack Humbert <jack.humb@gmail.com>2018-01-12 18:35:03 +0100
commitfe8942e55c9e3131f08927cb31761e56b576be71 (patch)
treea4154326f17db147d8c2b0c8402655d00ad75d82 /tmk_core
parent8e0d9e26379db34fc4af2d2228269cb980ea78c8 (diff)
downloadqmk_firmware-fe8942e55c9e3131f08927cb31761e56b576be71.tar.gz
qmk_firmware-fe8942e55c9e3131f08927cb31761e56b576be71.tar.xz
Add -e to enable interpretation of escape characters
Diffstat (limited to 'tmk_core')
-rw-r--r--tmk_core/avr.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/tmk_core/avr.mk b/tmk_core/avr.mk
index c083f6b72..30d4fe26e 100644
--- a/tmk_core/avr.mk
+++ b/tmk_core/avr.mk
@@ -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; \