From 5dc5cf225712d81f1a8430a3b87fb72fb295d1d1 Mon Sep 17 00:00:00 2001 From: Peter-Paul van Gemerden Date: Fri, 13 Dec 2013 10:19:29 +0100 Subject: [PATCH] Don't append port details to avrdude for usbtiny Fix 138 --- arduino-mk/Arduino.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arduino-mk/Arduino.mk b/arduino-mk/Arduino.mk index 1ba2b81..26d20c8 100644 --- a/arduino-mk/Arduino.mk +++ b/arduino-mk/Arduino.mk @@ -1048,7 +1048,7 @@ endif AVRDUDE_ISP_OPTS = -c $(ISP_PROG) -b $(AVRDUDE_ISP_BAUDRATE) -ifneq ($(strip $(ISP_PROG)),usbasp) +ifneq ($(strip $(ISP_PROG)),$(filter $(ISP_PROG), usbasp usbtiny)) AVRDUDE_ISP_OPTS += -P $(call get_isp_port) endif