Skip to content

Commit

Permalink
re-generate example docs (once more)
Browse files Browse the repository at this point in the history
  • Loading branch information
japaric committed Nov 26, 2018
1 parent eb2af0d commit d55c705
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/examples/_10_madgwick.rs
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@
//! for _ in 0..NSAMPLES {
//! block!(timer.wait()).unwrap();
//!
//! let ar = l3gd20.gyro().unwrap();
//! let ar = l3gd20.all().unwrap().gyro;
//!
//! ar_bias_x += i32(ar.x);
//! ar_bias_y += i32(ar.y);
Expand All @@ -194,7 +194,7 @@
//! block!(timer.wait()).unwrap();
//!
//! let m = lsm303dlhc.mag().unwrap();
//! let ar = l3gd20.gyro().unwrap();
//! let ar = l3gd20.all().unwrap().gyro;
//! let g = lsm303dlhc.accel().unwrap();
//!
//! let m_x = (f32(m.x) - M_BIAS_X) / M_SCALE_X;
Expand Down

0 comments on commit d55c705

Please sign in to comment.