From 2c015af02823bc3bee3e947c21b08990aae48854 Mon Sep 17 00:00:00 2001 From: Wilfried Chauveau Date: Sun, 15 Oct 2023 06:14:41 +0100 Subject: [PATCH] Remove `_old_pins_states` --- src/lib.rs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 34ae64d..885d4a9 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,6 +1,4 @@ #![no_std] -use core::marker::PhantomData; - use embedded_hal::{ blocking::spi, spi::{Phase, Polarity}, @@ -54,7 +52,6 @@ where tx: Tx<(P, SMI)>, rx: Rx<(P, SMI)>, _pins: Pins, - _old_pins_states: PhantomData<(MISO, MOSI, SCLK)>, } /// Alias for the tuple returned by `Spi::new` on error. @@ -198,7 +195,6 @@ where tx, rx, _pins: (miso, mosi, sclk), - _old_pins_states: PhantomData, }) } }