diff --git a/arduino-mk/Arduino.mk b/arduino-mk/Arduino.mk index be9bdcb..a57bc25 100644 --- a/arduino-mk/Arduino.mk +++ b/arduino-mk/Arduino.mk @@ -677,7 +677,7 @@ $(DEP_FILE): $(OBJDIR) $(DEPS) upload: reset raw_upload raw_upload: $(TARGET_HEX) - while [ ! -e $(ARDUINO_PORT) ] ;\ + while [ ! -e $(ARD_PORT) ] ;\ do \ echo "Waiting for arduino at $(ARD_PORT)";\ sleep 0.3 ;\