diff options
| author | eZio Pan <[email protected]> | 2024-01-30 16:54:06 +0800 |
|---|---|---|
| committer | Dario Nieuwenhuis <[email protected]> | 2024-02-09 23:57:09 +0100 |
| commit | d6636ca11669c60925acb08c32d488c481ee1581 (patch) | |
| tree | f577ac4b221c0692b3ec22285f36485559443224 | |
| parent | 04147b4147741bb711d6cc769aa7a4a88eed8e76 (diff) | |
minor fix
| -rw-r--r-- | embassy-stm32/src/dma/ringbuffer.rs | 1 |
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))] | ||
| 40 | pub struct OverrunError; | 41 | pub struct OverrunError; |
| 41 | 42 | ||
| 42 | pub trait DmaCtrl { | 43 | pub trait DmaCtrl { |
