Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Search up to COM256 on Windows

  • Loading branch information...
commit 2eace6349a80fc643b32f703178526f55af3552a 1 parent 6c06bae
@vickash vickash authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/dino/tx_rx/serial.rb
View
2  lib/dino/tx_rx/serial.rb
@@ -32,7 +32,7 @@ def connect
def tty_devices
return [@device] if @device
- return (1..9).map { |n| "COM#{n}" } if on_windows?
+ return (1..256).map { |n| "COM#{n}" } if on_windows?
`ls /dev`.split("\n").grep(/usb|ACM/).map{ |d| "/dev/#{d}" }
end
Please sign in to comment.
Something went wrong with that request. Please try again.