libftdi Archives

Subject: Re: Patch - fix a typo in a MPSSE command in ftdi.h

From: Thomas Jarosch <thomas.jarosch@xxxxxxxxxxxxx>
To: libftdi@xxxxxxxxxxxxxxxxxxxxxxx
Cc: Benjamin Vanheuverzwijn <bvanheu@xxxxxxxxx>
Date: Thu, 12 Jun 2014 13:48:31 +0200
On Sunday, 8. June 2014 09:51:04 Benjamin Vanheuverzwijn wrote:
> Hi,
> 
> There is a typo in ftdi.h for the CLK_BYTES_OR_LOW define. It should be
> 0x9d and not 0x0d.
> 
> --- a/src/ftdi.h
> +++ b/src/ftdi.h
> @@ -118,7 +118,7 @@ enum ftdi_module_detach_mode
>  #define EN_ADAPTIVE     0x96
>  #define DIS_ADAPTIVE    0x97
>  #define CLK_BYTES_OR_HIGH 0x9c
> -#define CLK_BYTES_OR_LOW  0x0d
> +#define CLK_BYTES_OR_LOW  0x9d
>  /*FT232H specific commands */
>  #define DRIVE_OPEN_COLLECTOR 0x9e
>  /* Value Low */
> 
> Thanks!

good catch, I've verified that in the datasheet. Applied.

Thanks,
Thomas


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

Current Thread