Skip to content

Commit 0c472c7

Browse files
-newlines and indents
1 parent 776c5fd commit 0c472c7

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/adc.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -390,14 +390,13 @@ macro_rules! adc_hal {
390390
// need to go through intermediate first
391391
self.rb.cr.modify(|_, w| w.advregen().intermediate());
392392
self.rb.cr.modify(|_, w| w.advregen().enabled());
393-
394393
}
395394

396395
/// wait for the advregen to startup.
397396
///
398397
/// This is based on the MAX_ADVREGEN_STARTUP_US of the device.
399398
fn wait_advregen_startup(&self) {
400-
asm::delay((MAX_ADVREGEN_STARTUP_US * 1_000_000) / self.clocks.sysclk().0);
399+
asm::delay((MAX_ADVREGEN_STARTUP_US * 1_000_000) / self.clocks.sysclk().0);
401400
}
402401

403402
/// busy ADC read

0 commit comments

Comments
 (0)