Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace GPIO port idx identifier with zephyrs one #14

Open
ikerperezdelpalomar opened this issue May 19, 2021 · 0 comments
Open

Replace GPIO port idx identifier with zephyrs one #14

ikerperezdelpalomar opened this issue May 19, 2021 · 0 comments

Comments

@ikerperezdelpalomar
Copy link
Collaborator

See if this values https://github.com/CodethinkLabs/bloodlight-firmware/blob/65f4308d6d197dc288723b762341b2c780d54633/firmware/src/led.c#L71 can be replaced by zephyr GPIO indexing method.

Currently port_idx just used in bl_led__get_pin_mask to get a pin mask per port which allows us to do one set for each port used, rather than setting each gpio pin individually, so it's not a priority.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant