FreeCalypso > hg > fc-usbser-tools
view libftmini/ftdi_tune.h @ 56:842cff427588
cp2102: fix Intel HEX read/write bugs
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Mon, 11 Sep 2023 19:52:28 +0000 |
parents | fce3d4baa2b4 |
children |
line wrap: on
line source
/* * 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. Ditto for ftdi->usb_write_timeout. * Replicate these magic definitions. */ #define USB_READ_TIMEOUT 5000 #define USB_WRITE_TIMEOUT 5000