diff --git a/src/common/lpspi.rs b/src/common/lpspi.rs index 50ada391..f0ccc0f0 100644 --- a/src/common/lpspi.rs +++ b/src/common/lpspi.rs @@ -1432,15 +1432,6 @@ where } } -/// Transmits dummy values. -struct TransmitDummies; - -impl TransmitData for TransmitDummies { - fn next_word(&mut self, _: BitOrder) -> u32 { - u32::MAX - } -} - /// Receive data into a buffer. struct ReceiveBuffer<'a, W> { /// The write position. @@ -1495,13 +1486,6 @@ where } } -/// Receive dummy data. -struct ReceiveDummies; - -impl ReceiveData for ReceiveDummies { - fn next_word(&mut self, _: u32) {} -} - /// Computes how may Ws fit inside a LPSPI word. const fn per_word() -> usize { core::mem::size_of::() / core::mem::size_of::()