diff libftmini/ftdi_tune.h @ 14:67ecb394b24f

libftmini: starting with EEPROM read
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 07 Sep 2023 07:59:09 +0000
parents
children fce3d4baa2b4
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/libftmini/ftdi_tune.h	Thu Sep 07 07:59:09 2023 +0000
@@ -0,0 +1,7 @@
+/*
+ * libftdi-0.20 passes ftdi->usb_read_timeout as the last argument to
+ * usb_control_msg(); this setting is initialized to 5000 in ftdi_init()
+ * and never changed in practice.  Replicate this magic definition.
+ */
+
+#define	USB_READ_TIMEOUT	5000