-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Fix BMI160 gate, improve MPU6500 initialization and optimize directives for maintenance #13237
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
Fix BMI160 gate, improve MPU6500 initialization and optimize directives for maintenance #13237
Conversation
Do you want to test this code? You can flash it directly from Betaflight Configurator:
WARNING: It may be unstable. Use only for testing! |
AUTOMERGE: (FAIL)
|
I don't think you need the directives for the header files of the drivers. The implementation (in the .c files) is gated already. |
e5e17e0
to
06d3f96
Compare
06d3f96
to
4edca26
Compare
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.
approving untested
* Add BMI160 gate and other defines * Fix make test * Remove redundant directives
* Add BMI160 gate and other defines * Fix make test * Remove redundant directives
mpu6500AccDetect
for MPU6500 if SPI is defined.