aboutsummaryrefslogtreecommitdiff
path: root/Arduino.mk
diff options
context:
space:
mode:
authorSimon John <git@the-jedi.co.uk>2014-06-15 17:56:52 +0200
committerSimon John <git@the-jedi.co.uk>2014-06-15 17:56:52 +0200
commit583a9e49502c6b2190a19e85ae33b2039782b2de (patch)
treeeec743eeb06ab84f2918c549e67db1f00f89c18b /Arduino.mk
parent05a0c7d37722183390f6c2f8699a569589049006 (diff)
Fixed $MONITOR_PORT detection, thanks choffmann
Diffstat (limited to 'Arduino.mk')
-rw-r--r--Arduino.mk2
1 files changed, 1 insertions, 1 deletions
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.