leonerd / perl-Device-FTDI

perl extension to talk to FTDI chips
5 stars 1 forks source link

v0.04 set_interface() not passing parameters #2

Closed paxospaxos closed 12 years ago

paxospaxos commented 12 years ago

added this patch and tested with the FT2232D chipset to satisfactory result:

  FTDI.pm
177c177,178
<     return _set_interface(shift->{_ctx});

---
>     my ( $self, $interface ) = @_;
>     return _set_interface(shift->{_ctx}, $interface);
trinitum commented 12 years ago

thank you for the patch and testing, applied and uploaded to CPAN