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

LSM6DSO i2c handle buf #225

Open
dyldonahue opened this issue Nov 10, 2024 · 0 comments
Open

LSM6DSO i2c handle buf #225

dyldonahue opened this issue Nov 10, 2024 · 0 comments
Assignees

Comments

@dyldonahue
Copy link
Contributor

Observed Behavior

I saw this quickly and am not positive I’m not going crazy @Sabramz please confirm.

The i2c handle pointer in mpu.c (hardcoded to be used In lsm6dso static inline funcs) does not seem to actually ever be initialized and will be a nullptr

Expected Behavior

In the MSB FW implementation of lam6dso wrapper functions, the i2c device is grabbed via extern. (Not a ptr). Code was verified there and it’s a lost simpler. Let’s change this so that it gets the Correct i2c device via extern

Steps to Reproduce

Look at the code

Screenshots (as needed)

No response

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

2 participants