FreeCalypso > hg > fc-usbser-tools
diff libftmini/ftdi_tune.h @ 18:fce3d4baa2b4
libftmini: implement EEPROM write
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Thu, 07 Sep 2023 22:43:53 +0000 |
parents | 67ecb394b24f |
children |
line wrap: on
line diff
--- a/libftmini/ftdi_tune.h Thu Sep 07 08:58:16 2023 +0000 +++ b/libftmini/ftdi_tune.h Thu Sep 07 22:43:53 2023 +0000 @@ -1,7 +1,9 @@ /* * 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. + * and never changed in practice. Ditto for ftdi->usb_write_timeout. + * Replicate these magic definitions. */ #define USB_READ_TIMEOUT 5000 +#define USB_WRITE_TIMEOUT 5000