pub trait DmaMode<ADC> {
/// Error type returned by ADC methods
type Error;
fn dma_enable(&mut self, enable: bool);
fn dma_circualr_mode(&mut self, enable: bool); // <=======
}
Here DmaMode contains the method dma_circualr_mode(). Please correct it to dma_circular_mode(). The name error doesn't inspire confidence it will in fact work.
Here DmaMode contains the method
dma_circualr_mode()
. Please correct it todma_circular_mode()
. The name error doesn't inspire confidence it will in fact work.As seen on https://github.com/stm32-rs/stm32g0xx-hal/blob/e6145ef83c639e736556fb4775f349aef7100ad6/src/analog/adc.rs#L374C16-L374C16