From 5398f1d47232fe19fd27e1f53051567b2ba937fc Mon Sep 17 00:00:00 2001 From: juliangaal Date: Tue, 23 Apr 2019 16:28:46 +0200 Subject: [PATCH] update example --- example/src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/example/src/main.rs b/example/src/main.rs index f7d8bc0..16243df 100644 --- a/example/src/main.rs +++ b/example/src/main.rs @@ -13,8 +13,8 @@ fn main() -> Result<(), Mpu6050Error> { mpu.soft_calib(100)?; mpu.calc_variance(50)?; - println!("Calibrated with bias: {:?}", mpu.get_bias().take().unwrap()); - println!("Calculated variance: {:?}", mpu.get_variance().take().unwrap()); + println!("Calibrated with bias: {:?}", mpu.get_bias().unwrap()); + println!("Calculated variance: {:?}", mpu.get_variance().unwrap()); loop { // get roll and pitch estimate