Permalink
Browse files

Merge pull request #42 from nishantmodak/linux-tty

serial ports for linux
  • Loading branch information...
austinbv committed May 26, 2013
2 parents 308a12d + 6c29b74 commit ebc076e255b9dd23d035443429e7ac5cad120c59
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/dino/tx_rx/usb_serial.rb
@@ -54,7 +54,7 @@ def tty_devices
1.upto(9) { |n| com_ports << "COM#{n}" }
com_ports
else
- `ls /dev`.split("\n").grep(/usb|ACM/).map{|d| "/dev/#{d}"}
+ `ls /dev`.split("\n").grep(/usb|ACM/i).map{|d| "/dev/#{d}"}
end
end

0 comments on commit ebc076e

Please sign in to comment.