Skip to content

Commit

Permalink
Remove _old_pins_states
Browse files Browse the repository at this point in the history
  • Loading branch information
ithinuel committed Oct 15, 2023
1 parent 58ab061 commit 2c015af
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#![no_std]
use core::marker::PhantomData;

use embedded_hal::{
blocking::spi,
spi::{Phase, Polarity},
Expand Down Expand Up @@ -54,7 +52,6 @@ where
tx: Tx<(P, SMI)>,
rx: Rx<(P, SMI)>,
_pins: Pins<P, MISO, MOSI, SCLK>,
_old_pins_states: PhantomData<(MISO, MOSI, SCLK)>,
}

/// Alias for the tuple returned by `Spi::new` on error.
Expand Down Expand Up @@ -198,7 +195,6 @@ where
tx,
rx,
_pins: (miso, mosi, sclk),
_old_pins_states: PhantomData,
})
}
}
Expand Down

0 comments on commit 2c015af

Please sign in to comment.