aboutsummaryrefslogtreecommitdiff
path: root/embassy-stm32/src/dma
diff options
context:
space:
mode:
authoreZio Pan <[email protected]>2024-01-30 16:54:06 +0800
committerDario Nieuwenhuis <[email protected]>2024-02-09 23:57:09 +0100
commitd6636ca11669c60925acb08c32d488c481ee1581 (patch)
treef577ac4b221c0692b3ec22285f36485559443224 /embassy-stm32/src/dma
parent04147b4147741bb711d6cc769aa7a4a88eed8e76 (diff)
minor fix
Diffstat (limited to 'embassy-stm32/src/dma')
-rw-r--r--embassy-stm32/src/dma/ringbuffer.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/embassy-stm32/src/dma/ringbuffer.rs b/embassy-stm32/src/dma/ringbuffer.rs
index c5b42060a..23f1d67d5 100644
--- a/embassy-stm32/src/dma/ringbuffer.rs
+++ b/embassy-stm32/src/dma/ringbuffer.rs
@@ -37,6 +37,7 @@ pub struct ReadableDmaRingBuffer<'a, W: Word> {
37} 37}
38 38
39#[derive(Debug, PartialEq)] 39#[derive(Debug, PartialEq)]
40#[cfg_attr(feature = "defmt", derive(defmt::Format))]
40pub struct OverrunError; 41pub struct OverrunError;
41 42
42pub trait DmaCtrl { 43pub trait DmaCtrl {