Permalink
Browse files

serial ports for linux

  • Loading branch information...
1 parent 308a12d commit 6c29b74ffff4a8b9100b0402f487b75829a94371 @nishantmodak nishantmodak committed May 23, 2013
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 6c29b74

Please sign in to comment.