Update GPIO code?
Closed this issue · 2 comments
sgjava commented
I noticed this while browsing the gpio.h source. You use it here
Line 991 in 2379567
/**
* 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;
};
vsergeev commented
v2.4.0 is now released with gpio-cdev v2 ABI support, so c-periphery will automatically build the v2 ABI implementation if the kernel headers support it.
sgjava commented
Thanks man.