Skip to content

Commit

Permalink
Hopefully actually fixed build issues
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidTheFighter authored and mciantyre committed Nov 17, 2020
1 parent 8a966bc commit b2335df
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions imxrt-hal/src/adc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
//! let (adc1_builder, _) = peripherals.adc.clock(&mut peripherals.ccm.handle);
//!
//! let mut adc1 = adc1_builder.build(adc::ClockSelect::default(), adc::ClockDivision::default());
//! let mut a1 = adc::AnalogInput::new(peripherals.iomuxc.ad_b1.p02, adc1);
//! let mut a1 = adc::AnalogInput::new(peripherals.iomuxc.ad_b1.p02, &adc1);
//!
//! let reading = adc1.read(&mut a1).unwrap();
//! let reading: u16 = adc1.read(&mut a1).unwrap();
//!```

use crate::ccm;
Expand Down

0 comments on commit b2335df

Please sign in to comment.