libftdi Archives

Subject: Re: [PATCH] Exposing ftdi_module_detach_mode for configuration

From: Thomas Jarosch <thomas.jarosch@xxxxxxxxxxxxx>
To: libftdi@xxxxxxxxxxxxxxxxxxxxxxx
Cc: Chris Johnson <chris.a.johnson@xxxxxxxxxx>
Date: Tue, 29 Aug 2023 16:42:43 +0200
Hi Chris,

You wrote on Mon, May 08, 2023 at 01:38:03PM +0000:
> I have a patch to submit to add additional functionality.  We have the need 
> to use the detach/reattach feature that was previously added, but I did not 
> see a way to actually configure the feature to use.  This patch adds a setter 
> to do this.
> 
> 
> 
> I wasn't sure what the official process was so I made a fork of the git repo 
> on GitHub and then applied my patch.
> 
> 
> 
> The fork is here: https://github.com/ciband/libftdi
> 
> 
> 
> The proposed patch is at the tips of master, b3adca4.

thanks for the patch! Applied.

At first I wasn't sure if the new setter is really needed, but it comes
in handy if the ftdi_context* is just a "private" pointer.

Cheers,
Thomas

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

Current Thread