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 a4b03e5 commit 6d4488fCopy full SHA for 6d4488f
src/analog/adc.rs
@@ -407,7 +407,7 @@ pub trait DmaMode<ADC> {
407
/// Error type returned by ADC methods
408
type Error;
409
fn dma_enable(&mut self, enable: bool);
410
- fn dma_circualr_mode(&mut self, enable: bool);
+ fn dma_circular_mode(&mut self, enable: bool);
411
}
412
413
impl DmaMode<Adc> for Adc {
@@ -421,7 +421,7 @@ impl DmaMode<Adc> for Adc {
421
422
423
424
- fn dma_circualr_mode(&mut self, enable: bool) {
+ fn dma_circular_mode(&mut self, enable: bool) {
425
if enable {
426
self.rb.cfgr1().modify(|_, w| w.dmacfg().set_bit()); // activate circular mode
427
} else {
0 commit comments