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
drivers: add lis2mdl mag driver #14844
Conversation
} | ||
|
||
int | ||
LIS2MDL_I2C::ioctl(unsigned operation, unsigned &arg) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The IOCTLs can be removed.
Lot's of copy-paste. I did another cleanup round. |
I suppose we should actually build it? |
I wasn't adding it for flash, and as no other board than v5x is using it. |
I only tested this with I2C. Feel free to make the required changes for SPI and create a PR. |
It has less functionality than the lis3mdl, but supposedly the lis2mdl is better than the lis3mdl.