Skip to content

Commit

Permalink
Address clippy warnings in AdcSource
Browse files Browse the repository at this point in the history
  • Loading branch information
mciantyre committed Apr 1, 2021
1 parent be6006e commit 2658b74
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions imxrt-hal/src/adc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,8 @@ impl AdcDmaSource for ADC2 {
/// Streaming DMA source for ADCs
pub struct AdcSource<ADCx, P> {
adc: ADC<ADCx>,
#[allow(unused)]
// Placeholder for a future implementation; remove this allow when using the pin!
pin: AnalogInput<ADCx, P>,
}

Expand Down

0 comments on commit 2658b74

Please sign in to comment.