aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--embassy-stm32/src/adc/v3.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/embassy-stm32/src/adc/v3.rs b/embassy-stm32/src/adc/v3.rs
index 8062fa169..a52141a34 100644
--- a/embassy-stm32/src/adc/v3.rs
+++ b/embassy-stm32/src/adc/v3.rs
@@ -471,7 +471,7 @@ impl<'d, T: Instance> Adc<'d, T> {
471 /// `read` method is used to read out measurements from the DMA ring buffer, and its buffer should be exactly half of the `dma_buf` length. 471 /// `read` method is used to read out measurements from the DMA ring buffer, and its buffer should be exactly half of the `dma_buf` length.
472 /// It is critical to call `read` frequently to prevent DMA buffer overrun. 472 /// It is critical to call `read` frequently to prevent DMA buffer overrun.
473 /// 473 ///
474 /// [`read`]: #method.read 474 /// [`read`]: #method.read
475 #[cfg(adc_v3)] 475 #[cfg(adc_v3)]
476 pub fn into_ring_buffered<'a>( 476 pub fn into_ring_buffered<'a>(
477 &mut self, 477 &mut self,