Re: [libgpiod][RFC] helper functions for basic use cases

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, May 15, 2024 at 10:14:36PM +0800, Kent Gibson wrote:
> On Wed, May 15, 2024 at 06:54:15AM -0700, Bartosz Golaszewski wrote:
> > On Wed, 15 May 2024 11:18:48 +0200, Kent Gibson <warthog618@xxxxxxxxx> said:
> > >
> > > Sure thing.  This is what I have at the moment (the declarations are as
> > > per earlier, just renamed.  And I just noticed some variables I haven't
> > > renamed.  I'll add it to the todo list.):
> > >
> >
> > Can you post an example of how this is used?
> >
>
> Sure [1].
>

What was I thinking - you read the uAPI event and convert it to a libgpiod
type, so that wont work.  I obviously haven't tried running that
example.
Forget I suggested it - if the user wants to avoid the event buffer
complexity they have to read into a struct gpio_v2_line_event, so no
libgpiod involvement at all.

Cheers,
Kent.





[Index of Archives]     [Linux SPI]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux