mirror of https://github.com/ArduPilot/ardupilot
Fix serial port on windows
This commit is contained in:
parent
550deffbe8
commit
7a510084b1
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue