-
Notifications
You must be signed in to change notification settings - Fork 26
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
Add LSM6DS33 #159
base: main
Are you sure you want to change the base?
Add LSM6DS33 #159
Conversation
@@ -8,6 +8,8 @@ | |||
#![feature(alloc_error_handler)] | |||
// We want to do some floating point math at compile time | |||
#![feature(const_fn_floating_point_arithmetic)] | |||
// Asynchronous IMU sampling | |||
#![feature(async_fn_in_trait)] |
Check warning
Code scanning / clippy
the feature `async_fn_in_trait` is incomplete and may not be safe to use and/or cause compiler crashes
ticker: Ticker, | ||
} | ||
impl<I: I2c> Lsm6Ds33<I> { | ||
pub fn new(i2c: I) -> Result<Self, lsm6ds33::Error<<I as I2c>::Error>> { |
Check warning
Code scanning / clippy
associated function `new` is never used
Will test on my lsm once dependent PRs are merged and this is rebased. |
This has been tested against drop-in compatible LSM6DS3TR |
No description provided.