aboutsummaryrefslogtreecommitdiff
path: root/embassy-embedded-hal/src
diff options
context:
space:
mode:
authorRagarnoy <[email protected]>2024-05-01 01:47:05 +0200
committerDario Nieuwenhuis <[email protected]>2024-05-20 10:56:43 +0200
commitd64f46ff9e81149bf386ca9ffb85950ac293edf1 (patch)
tree700a8bfd14572e5fc4a8917f96a1baa276a68157 /embassy-embedded-hal/src
parent44cb4159a67bcb0eeb9b0fa1e2e5fac2c2c2c2e3 (diff)
PR remarks
Diffstat (limited to 'embassy-embedded-hal/src')
-rw-r--r--embassy-embedded-hal/src/shared_bus/blocking/spi.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/embassy-embedded-hal/src/shared_bus/blocking/spi.rs b/embassy-embedded-hal/src/shared_bus/blocking/spi.rs
index 2979d4ace..3be1276e5 100644
--- a/embassy-embedded-hal/src/shared_bus/blocking/spi.rs
+++ b/embassy-embedded-hal/src/shared_bus/blocking/spi.rs
@@ -103,7 +103,7 @@ pub struct SpiDeviceWithConfig<'a, M: RawMutex, BUS: SetConfig, CS, Word: Copy +
103 _word: core::marker::PhantomData<Word>, 103 _word: core::marker::PhantomData<Word>,
104} 104}
105 105
106impl<'a, M: RawMutex, BUS: SetConfig, CS, Word: Copy + 'static> SpiDeviceWithConfig<'a, M, BUS, CS, Word> { 106impl<'a, M: RawMutex, BUS: SetConfig, CS> SpiDeviceWithConfig<'a, M, BUS, CS> {
107 /// Create a new `SpiDeviceWithConfig`. 107 /// Create a new `SpiDeviceWithConfig`.
108 pub fn new(bus: &'a Mutex<M, RefCell<BUS>>, cs: CS, config: BUS::Config) -> Self { 108 pub fn new(bus: &'a Mutex<M, RefCell<BUS>>, cs: CS, config: BUS::Config) -> Self {
109 Self { 109 Self {