diff options
Diffstat (limited to 'embassy-embedded-hal/src/shared_bus/blocking/spi.rs')
| -rw-r--r-- | embassy-embedded-hal/src/shared_bus/blocking/spi.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/embassy-embedded-hal/src/shared_bus/blocking/spi.rs b/embassy-embedded-hal/src/shared_bus/blocking/spi.rs index ffe2aa1c6..48fe2f4c4 100644 --- a/embassy-embedded-hal/src/shared_bus/blocking/spi.rs +++ b/embassy-embedded-hal/src/shared_bus/blocking/spi.rs | |||
| @@ -19,13 +19,13 @@ | |||
| 19 | 19 | ||
| 20 | use core::cell::RefCell; | 20 | use core::cell::RefCell; |
| 21 | 21 | ||
| 22 | use embassy_sync::blocking_mutex::raw::RawMutex; | ||
| 23 | use embassy_sync::blocking_mutex::Mutex; | 22 | use embassy_sync::blocking_mutex::Mutex; |
| 23 | use embassy_sync::blocking_mutex::raw::RawMutex; | ||
| 24 | use embedded_hal_1::digital::OutputPin; | 24 | use embedded_hal_1::digital::OutputPin; |
| 25 | use embedded_hal_1::spi::{self, Operation, SpiBus}; | 25 | use embedded_hal_1::spi::{self, Operation, SpiBus}; |
| 26 | 26 | ||
| 27 | use crate::shared_bus::SpiDeviceError; | ||
| 28 | use crate::SetConfig; | 27 | use crate::SetConfig; |
| 28 | use crate::shared_bus::SpiDeviceError; | ||
| 29 | 29 | ||
| 30 | /// SPI device on a shared bus. | 30 | /// SPI device on a shared bus. |
| 31 | pub struct SpiDevice<'a, M: RawMutex, BUS, CS> { | 31 | pub struct SpiDevice<'a, M: RawMutex, BUS, CS> { |
