Skip to content

Conversation

@robertlipe
Copy link

Summary

Allow GPIO pin #'s > 7. In functions treating GPIO pin types
as part of a bitmask, use the type that's used for this purpose and
appropriately set for our target to be wide enough to be used.
BL602 has 23 GPIOs, so holding them in a bitmask in a uint8_t
works poorly.

Impact

No external impac

Testing

External app controlling GPIO14 on BL602-EVB

In functions treating GPIO pin types as part of a bitmask, use the
type that's used for this purpose and appropriately set for our target
to be wide enough to be used. BL602 has 23  GPIOs, so holding them in
a bitmask in a uint8_t works poorly.
@lupyuen
Copy link
Owner

lupyuen commented Apr 13, 2022

Thanks for the PR :-) See this: #58 (comment)

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.

2 participants