Skip to content

Commit

Permalink
Skip rustfmt in the example when building the adc
Browse files Browse the repository at this point in the history
The reader should check each line to make sure they understand what they
are passing.
  • Loading branch information
strom-und-spiele committed Apr 6, 2020
1 parent 8e820bc commit 3f53c2e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions examples/adc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ fn main() -> ! {
let clocks = rcc.cfgr.freeze(&mut dp.FLASH.constrain().acr);

// set up adc1
#[rustfmt::skip]
let mut adc1 = adc::Adc::adc1(
dp.ADC1,
&mut dp.ADC1_2,
Expand Down

0 comments on commit 3f53c2e

Please sign in to comment.