Skip to content

Commit

Permalink
Add support for beaglebone serial ports. (#1600)
Browse files Browse the repository at this point in the history
  • Loading branch information
kubat authored and reconbot committed Jul 21, 2018
1 parent fb565fd commit 384eb37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/bindings/linux-list.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const Readline = require('@serialport/parser-readline');

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

function propName(name) {
Expand Down

0 comments on commit 384eb37

Please sign in to comment.