libftdi Archives

Subject: Re: [PATCH] Typo in error message of ftdi_write_eeprom_location.

From: Thomas Jarosch <thomas.jarosch@xxxxxxxxxxxxx>
To: libftdi@xxxxxxxxxxxxxxxxxxxxxxx
Date: Fri, 26 Apr 2013 14:36:27 +0200
Hi Matthias,

On Tuesday, 16. April 2013 10:33:49 Matthias Brugger wrote:
> Signed-off-by: Matthias Brugger <matthias.bgg@xxxxxxxxx>
> ---
>  src/ftdi.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/ftdi.c b/src/ftdi.c
> index 3c86456..a438602 100644
> --- a/src/ftdi.c
> +++ b/src/ftdi.c
> @@ -4126,7 +4126,7 @@ int ftdi_write_eeprom_location(struct
> ftdi_context *ftdi, int eeprom_addr,
>      }
> 
>      if (ftdi_read_eeprom_location( ftdi, chip_type_location>>1,
> &chip_type)) -        ftdi_error_return(-5, "Reading failed failed");
> +        ftdi_error_return(-5, "Reading failed");
>      fprintf(stderr," loc 0x%04x val 0x%04x\n",
> chip_type_location,chip_type); if ((chip_type & 0xff) != 0x66)
>      {

somehow the patch didn't apply.

Nonetheless I've fixed this bug in several places now
and gave credit to you in the commit message.

Thanks,
Thomas


--
libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to libftdi+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx   

Current Thread