Skip to content

Conversation

felixcollins
Copy link
Contributor

@felixcollins felixcollins commented Sep 18, 2025

The early libgpiod implementations used default zero based enums. In this commit they changed to explicit valued 1 based enums. The dotnet versions of the enums use the 1 based scheme. There is no way to easily detect which scheme is in use, and it is not a priority as most platforms will be running more recent code.

Microsoft Reviewers: Open in CodeFlow

Copy link
Member

@joperezr joperezr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for fixing this!

@joperezr joperezr merged commit 8b6c1d5 into dotnet:main Sep 25, 2025
7 of 10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants