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

Incorrect NULL check in set_regs #5

Open
ljden opened this issue Mar 22, 2023 · 0 comments
Open

Incorrect NULL check in set_regs #5

ljden opened this issue Mar 22, 2023 · 0 comments

Comments

@ljden
Copy link

ljden commented Mar 22, 2023

I think (hif->read != NULL) should be (hif->write != NULL) as write is used not read
https://github.com/boschsensortec/BHY2-Sensor-API/blob/f1032049ecc9187dc84a537541c0abc995f6a89b/bhy2_hif.c#L450-L457

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

No branches or pull requests

1 participant