c-periphery icon indicating copy to clipboard operation
c-periphery copied to clipboard

Update GPIO code?

Open sgjava opened this issue 4 years ago • 0 comments

I noticed this while browsing the gpio.h source. You use it here https://github.com/vsergeev/c-periphery/blob/2379567960b9f72ccfb8f9db7271092612e89bdf/src/gpio.c#L991

/**
 * struct gpioevent_data - The actual event being pushed to userspace
 * @timestamp: best estimate of time of event occurrence, in nanoseconds
 * @id: event identifier
 *
 * Note: This struct is part of ABI v1 and is deprecated.
 * Use &struct gpio_v2_line_event instead.
 */
struct gpioevent_data {
	__u64 timestamp;
	__u32 id;
};

sgjava avatar Nov 26 '21 17:11 sgjava