From 583a9e49502c6b2190a19e85ae33b2039782b2de Mon Sep 17 00:00:00 2001 From: Simon John Date: Sun, 15 Jun 2014 17:56:52 +0200 Subject: Fixed $MONITOR_PORT detection, thanks choffmann --- Arduino.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Arduino.mk') diff --git a/Arduino.mk b/Arduino.mk index 6439c04..3735b08 100644 --- a/Arduino.mk +++ b/Arduino.mk @@ -879,7 +879,7 @@ ifeq ($(CURRENT_OS), WINDOWS) DEVICE_PATH = /dev/ttyS$(shell awk 'BEGIN{ print $(COM_PORT_ID) - 1 }') endif -ifdef ARDUINO_PORT +ifdef MONITOR_PORT DEVICE_PATH = $(MONITOR_PORT) else # If no port is specified, try to guess it from wildcards. -- cgit v1.2.3