Skip to content

Commit

Permalink
Use uint16_t for gpio in lgGpioReport_t
Browse files Browse the repository at this point in the history
  • Loading branch information
vickash authored Jul 31, 2024
1 parent 746f0df commit 716f67d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lgpio.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
uint16_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;
Expand Down

0 comments on commit 716f67d

Please sign in to comment.