HAL: Update for GPIO code #572
No reviewers
Labels
No Label
API Change
Breaking API Change
bug
build
cosmetics
Documentation
duplicate
feature
help wanted
hotfix
invalid
question
Refactor
Tests
wontfix
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: fsfw/fsfw#572
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "eive/fsfw:mueller/gpio-update"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Direction
,GpioOperation
andLevels
are enum classes now, which preventsname clashes with Windows defines.
FSFW_HAL_LINUX_ADD_LIBGPIOD
to specifically excludegpiod
code.This is a breaking API change because now the enums always have to prefixed with the enum scope. Also, they don't convert to their respective number values implicitely anymore.
I am a bit confused, the code shows changing the enums to
enum class
, instead of renaming their value as shown in the description of the PR and in the changelog.Which is the proposed change?
If I remember correctly, #556 is the precessor of this and was going for the
enum class
approch.The documentation did not move with the code. Fixed it now
looks good