enable nalgebra with no_std support
This commit is contained in:
parent
61b8b62b50
commit
7ab5fc90f4
2 changed files with 5 additions and 0 deletions
|
@ -13,3 +13,7 @@ license = "MIT"
|
|||
[dependencies]
|
||||
embedded-hal = "0.2.2"
|
||||
libm = "0.1.2"
|
||||
|
||||
[dependencies.nalgebra]
|
||||
default-features = false
|
||||
version = "0.18"
|
||||
|
|
|
@ -49,6 +49,7 @@ pub mod registers;
|
|||
|
||||
use crate::registers::Registers::*;
|
||||
use libm::{powf, atan2f, sqrtf};
|
||||
use nalgebra as na;
|
||||
use embedded_hal::{
|
||||
blocking::delay::DelayMs,
|
||||
blocking::i2c::{Write, WriteRead},
|
||||
|
|
Loading…
Reference in a new issue