Add new function ftdi_usb_get_strings2()
authorFahrzin Hemmati <fahhem@gmail.com>
Mon, 18 Apr 2016 20:48:42 +0000 (22:48 +0200)
committerThomas Jarosch <thomas.jarosch@intra2net.com>
Mon, 18 Apr 2016 20:48:42 +0000 (22:48 +0200)
commit15079e78d3cbca7e33bd7f421c00ada20599e495
tree81dd54b93f9aad83ec7eb0deaaa036aa65750b4c
parentf838a4e3b0466abc34823750e9eef24d785c8232
Add new function ftdi_usb_get_strings2()

This new version of ftdi_usb_get_strings() only closes
the device if it was opened by the function, too.

[minor code and changelog tweaks by Thomas Jarosch]
src/ftdi.c
src/ftdi.h