Save device release number. Allow writing of eeprom buffer, that was read from device.
[libftdi] / src / ftdi.h
index 0348eea..c1d74f1 100644 (file)
@@ -17,7 +17,8 @@
 #ifndef __libftdi_h__
 #define __libftdi_h__
 
-#include <libusb.h>
+#include <stdint.h>
+#include <sys/time.h>
 
 /** FTDI chip type */
 enum ftdi_chip_type { TYPE_AM=0, TYPE_BM=1, TYPE_2232C=2, TYPE_R=3, TYPE_2232H=4, TYPE_4232H=5, TYPE_232H=6 };
@@ -308,6 +309,7 @@ enum ftdi_eeprom_value
     CHANNEL_B_RS485    = 52,
     CHANNEL_C_RS485    = 53,
     CHANNEL_D_RS485    = 54,
+    RELEASE_NUMBER     = 55,
 };
 
 /**