Skip to content

Commit 6d4488f

Browse files
committed
[Breaking change] Fix spelling error. Closes #143
1 parent a4b03e5 commit 6d4488f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/analog/adc.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,7 @@ pub trait DmaMode<ADC> {
407407
/// Error type returned by ADC methods
408408
type Error;
409409
fn dma_enable(&mut self, enable: bool);
410-
fn dma_circualr_mode(&mut self, enable: bool);
410+
fn dma_circular_mode(&mut self, enable: bool);
411411
}
412412

413413
impl DmaMode<Adc> for Adc {
@@ -421,7 +421,7 @@ impl DmaMode<Adc> for Adc {
421421
}
422422
}
423423

424-
fn dma_circualr_mode(&mut self, enable: bool) {
424+
fn dma_circular_mode(&mut self, enable: bool) {
425425
if enable {
426426
self.rb.cfgr1().modify(|_, w| w.dmacfg().set_bit()); // activate circular mode
427427
} else {

0 commit comments

Comments
 (0)