From cb66c276ef71c6703bfc3e4be75944d645bc1f48 Mon Sep 17 00:00:00 2001 From: vickash Date: Fri, 16 Aug 2024 12:20:08 -0400 Subject: [PATCH] Use uint32_t for gpio in lgGpioReport_t --- lgpio.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lgpio.h b/lgpio.h index 22f154a..166531e 100644 --- a/lgpio.h +++ b/lgpio.h @@ -380,7 +380,7 @@ typedef struct { uint64_t timestamp; /* alert time in nanoseconds*/ uint8_t chip; /* gpiochip device number */ - uint8_t gpio; /* offset into gpio device */ + uint32_t gpio; /* offset into gpio device */ uint8_t level; /* 0=low, 1=high, 2=watchdog */ uint8_t flags; /* none defined, ignore report if non-zero */ } lgGpioReport_t;