Moi Jarkko,
On Sunday, 24. March 2013 10:14:18 Jarkko Sonninen wrote:
> ---
> src/ftdi.c | 70
> ++++++++++++++++++++++++++++++++-------------------------- src/ftdi.h |
> 1 +
> src/ftdi_i.h | 3 +++
> 3 files changed, 43 insertions(+), 31 deletions(-)
>
> diff --git a/src/ftdi.c b/src/ftdi.c
> index 5570bd4..6d4a64b 100644
> --- a/src/ftdi.c
> +++ b/src/ftdi.c
> @@ -2392,7 +2392,32 @@ int ftdi_eeprom_initdefaults(struct ftdi_context
> *ftdi, char * manufacturer, }
> eeprom->size = -1;
> }
> - eeprom->initialized_for_connected_device = 1;
> + switch (ftdi->type)
> + {
> + ...
Thanks, applied!
I hope the modified "eeprom->initialized_for_connected_device" handling
does not break anything but the new code looks good to me.
Thomas
--
libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to libftdi+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx
|