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

port: Call ble_ll_init #1956

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

chrysn
Copy link
Contributor

@chrysn chrysn commented Jan 4, 2025

For the RIOT port, when upgrading from 0.15 to 0.18, I had to manually call ble_ll_init; as per a comment from @sjanc, this is better done in the nimble_port_init call, where this PR moves it.

This is being tested in RIOT, where the patch is being applied in the 0.18 branch.

@github-actions github-actions bot added the size/XS Extra small PR label Jan 4, 2025
chrysn added a commit to chrysn-pull-requests/RIOT that referenced this pull request Jan 4, 2025

void
nimble_port_init(void)
{
ble_ll_init();
Copy link
Contributor

Choose a reason for hiding this comment

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

I'd suggest to call it after os_msys_init()

Copy link
Contributor

Choose a reason for hiding this comment

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

oh, and it should also be under
#if NIMBLE_CFG_CONTROLLER

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size/XS Extra small PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants