aboutsummaryrefslogtreecommitdiff
path: root/Arduino.mk
diff options
context:
space:
mode:
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.