FreeCalypso > hg > fc-usbser-tools
annotate libftmini/ftdi_tune.h @ 17:2e21b551b971
top Makefile: fteeprom now depends on local libs
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Thu, 07 Sep 2023 08:58:16 +0000 |
parents | 67ecb394b24f |
children | fce3d4baa2b4 |
rev | line source |
---|---|
14
67ecb394b24f
libftmini: starting with EEPROM read
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1 /* |
67ecb394b24f
libftmini: starting with EEPROM read
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
2 * libftdi-0.20 passes ftdi->usb_read_timeout as the last argument to |
67ecb394b24f
libftmini: starting with EEPROM read
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
3 * usb_control_msg(); this setting is initialized to 5000 in ftdi_init() |
67ecb394b24f
libftmini: starting with EEPROM read
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
4 * and never changed in practice. Replicate this magic definition. |
67ecb394b24f
libftmini: starting with EEPROM read
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
5 */ |
67ecb394b24f
libftmini: starting with EEPROM read
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
6 |
67ecb394b24f
libftmini: starting with EEPROM read
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
7 #define USB_READ_TIMEOUT 5000 |