From fcc4da3672c6c9cedfc3c57d703beccd7a0ba6ac Mon Sep 17 00:00:00 2001 From: mmcwilliams Date: Fri, 1 Mar 2019 18:01:16 -0500 Subject: [PATCH] Add additional cases to the arduino filter when looking for devices to connect with. --- app/lib/arduino/index.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/lib/arduino/index.js b/app/lib/arduino/index.js index d078db5..387c75a 100644 --- a/app/lib/arduino/index.js +++ b/app/lib/arduino/index.js @@ -147,6 +147,10 @@ arduino.enumerate = async function () { matches.push(port.comName) } else if ((port.manufacturer + '').toLowerCase().indexOf('arduino') !== -1) { matches.push(port.comName) + } else if ((port.comName + '').toLowerCase().indexOf('usbserial') !== -1) { + matches.push(port.comName) + } else if ((port.comName + '').toLowerCase().indexOf('usbmodem') !== -1) { + matches.push(port.comName) } }) if (matches.length === 0) {