ziutek / ftdi

Go binding for libFTDI
Other
25 stars 14 forks source link

No field or method "WriteLen" #5

Closed wdevore closed 5 years ago

wdevore commented 5 years ago

Hi, I realize this library is fairly dormant now but I have upgraded to the latest libftdi library and it appears that a method make have changed. When I run my go program it fails a particular call:

# github.com/wdevore/hardware/ftdi
../../ftdi/ftdi232h.go:454:29: f.device.WriteLen undefined (type *ftdi.Device has no field or method WriteLen)

Any thoughts on how I could fix this? Thanks.

wdevore commented 5 years ago

I checked and it seems since I lasted used the API that WriteLen is replaced by Write, and this works.