We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 776c5fd commit 0c472c7Copy full SHA for 0c472c7
src/adc.rs
@@ -390,14 +390,13 @@ macro_rules! adc_hal {
390
// need to go through intermediate first
391
self.rb.cr.modify(|_, w| w.advregen().intermediate());
392
self.rb.cr.modify(|_, w| w.advregen().enabled());
393
-
394
}
395
396
/// wait for the advregen to startup.
397
///
398
/// This is based on the MAX_ADVREGEN_STARTUP_US of the device.
399
fn wait_advregen_startup(&self) {
400
- asm::delay((MAX_ADVREGEN_STARTUP_US * 1_000_000) / self.clocks.sysclk().0);
+ asm::delay((MAX_ADVREGEN_STARTUP_US * 1_000_000) / self.clocks.sysclk().0);
401
402
403
/// busy ADC read
0 commit comments