Fix serial port on windows

This commit is contained in:
amilcar 2011-10-03 00:37:55 +02:00 committed by Amilcar Lucas
parent 550deffbe8
commit 7a510084b1
1 changed files with 1 additions and 1 deletions

View File

@ -421,7 +421,7 @@ configure:
@echo BOARD=mega >> $(SKETCHBOOK)/config.mk
@echo \# The communication port used to communicate with the APM. >> $(SKETCHBOOK)/config.mk
ifneq ($(findstring CYGWIN, $(SYSTYPE)),)
@echo PORT=/dev/com3 >> $(SKETCHBOOK)/config.mk
@echo PORT=com3 >> $(SKETCHBOOK)/config.mk
else
@echo PORT=/dev/ttyUSB0 >> $(SKETCHBOOK)/config.mk
endif