Add COM3 for windows tests

This commit is contained in:
M McWilliams 2018-01-30 04:07:52 -05:00
parent acb9846015
commit 63e081afe4
1 changed files with 3 additions and 1 deletions

View File

@ -18,7 +18,8 @@ mcopy.arduino = {
'/dev/tty.usbmodem1a131',
'/dev/tty.usbserial-a900f6de',
'/dev/tty.usbmodem1a141',
'/dev/ttyACM0'
'/dev/ttyACM0',
'COM3'
],
alias : {
@ -38,6 +39,7 @@ mcopy.arduino = {
mcopy.arduino.enumerate = function (callback) {
let matches = []
SerialPort.list((err, ports) => {
//console.dir(ports)
ports.forEach(port => {
if (mcopy.arduino.known.indexOf(port.comName) !== -1) {
matches.push(port.comName)