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

BTstack: remove superfluous call during setup. #2137

Merged
merged 1 commit into from
Apr 30, 2024

Conversation

djpearman
Copy link
Contributor

Hi,

The call to le_device_db_init() seems to superfluous as it is called in the subsequent sm_init(). It is not present in BTstack examples I've seen, for example:

https://github.com/bluekitchen/btstack/blob/72ef1732c954d938091467961e41f4aa9b976b34/example/le_streamer_client.c

Removing has no apparent effects (good or bad) in my projects.

Best regards,
djpearman

Copy link
Owner

@earlephilhower earlephilhower left a comment

Choose a reason for hiding this comment

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

Looks good. The BTStackLib is kind of old and not supported by the BTStack guys anymore, so it's not surprising that it's got a little cruft collected in it. :)

@earlephilhower earlephilhower merged commit 315bfda into earlephilhower:master Apr 30, 2024
13 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.

2 participants