Skip to content

Why isn't this device exposed via device_get_binding()? #28952

Discussion options

You must be logged in to vote

Answering my own question here:

device_get_binding only returns properly inited devices. The way it checks if it's inited is by checking if it has an API. Thus, devices without APIs doesn't get reported.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by mbolivar-nordic
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant