From 40a0d5d8f2fc7e2cfc216eb31b47729dd95a24cd Mon Sep 17 00:00:00 2001 From: elagil Date: Mon, 25 Aug 2025 21:10:59 +0200 Subject: fix: build warnings --- embassy-stm32/src/dma/ringbuffer/mod.rs | 8 -------- 1 file changed, 8 deletions(-) diff --git a/embassy-stm32/src/dma/ringbuffer/mod.rs b/embassy-stm32/src/dma/ringbuffer/mod.rs index 2d61204a2..659ffa9e5 100644 --- a/embassy-stm32/src/dma/ringbuffer/mod.rs +++ b/embassy-stm32/src/dma/ringbuffer/mod.rs @@ -3,14 +3,6 @@ use core::task::{Poll, Waker}; use crate::dma::word::Word; -/// The current buffer half (e.g. for DMA or the user application). -#[derive(Debug, PartialEq, PartialOrd)] -#[cfg_attr(feature = "defmt", derive(defmt::Format))] -enum BufferHalf { - First, - Second, -} - pub trait DmaCtrl { /// Get the NDTR register value, i.e. the space left in the underlying /// buffer until the dma writer wraps. -- cgit