Skip to content

Commit

Permalink
Fixed issues from checks
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidTheFighter authored and mciantyre committed Nov 17, 2020
1 parent 88d02cd commit 8a966bc
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion imxrt-hal/src/adc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
//! 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::AnalogPin::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();
//!```
Expand Down
2 changes: 1 addition & 1 deletion imxrt-iomuxc/src/adc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,4 @@ pub fn prepare_adc_pin<ADCx: ADC, P: Pin<ADCx>>(pin: &mut P) {
pin,
super::Config::modify().set_pull_keep(super::PullKeep::Disabled),
);
}
}
2 changes: 1 addition & 1 deletion imxrt-iomuxc/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,8 @@
#![no_std]
#![cfg_attr(docsrs, feature(doc_cfg))]

mod config;
pub mod adc;
mod config;
pub mod i2c;
pub mod pwm;
pub mod spi;
Expand Down

0 comments on commit 8a966bc

Please sign in to comment.