Skip to content

Commit

Permalink
feat: support Exar ttyXRUSB (#1893)
Browse files Browse the repository at this point in the history
  • Loading branch information
jowy authored and reconbot committed Jul 18, 2019
1 parent 13c542b commit 3d34d0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/bindings/lib/linux-list.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ const Readline = require('@serialport/parser-readline')

// get only serial port names
function checkPathOfDevice(path) {
return /(tty(S|WCH|ACM|USB|AMA|MFD|O)|rfcomm)/.test(path) && path
return /(tty(S|WCH|ACM|USB|AMA|MFD|O|XRUSB)|rfcomm)/.test(path) && path
}

function propName(name) {
Expand Down

0 comments on commit 3d34d0f

Please sign in to comment.