Permalink
Browse files

programmer/swd-ftdi: only use vid/pid for now

  • Loading branch information...
1 parent 84a6929 commit d9bf0198397fd81f8ac202b2657b04914b13b5a2 @corecode committed Dec 28, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 programmer/swd-ftdi.rb
View
@@ -111,7 +111,7 @@ def initialize(opt = {})
@dev = Ftdi::Context.new
@dev.interface = opt[:iface] || :interface_any
- @dev.usb_open_desc_index(opt[:vid] || 0, opt[:pid] || 0, opt[:desc], opt[:serial], opt[:idx] || 0)
+ @dev.usb_open(opt[:vid] || 0, opt[:pid] || 0)
@dev.usb_reset
@dev.set_bitmode(0, 0) # reset
@dev.set_bitmode(0, 2) # mpsse

0 comments on commit d9bf019

Please sign in to comment.