diff options
Diffstat (limited to 'embassy-embedded-hal/src/flash/partition/blocking.rs')
| -rw-r--r-- | embassy-embedded-hal/src/flash/partition/blocking.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/embassy-embedded-hal/src/flash/partition/blocking.rs b/embassy-embedded-hal/src/flash/partition/blocking.rs index 2ddbe3de0..478f39246 100644 --- a/embassy-embedded-hal/src/flash/partition/blocking.rs +++ b/embassy-embedded-hal/src/flash/partition/blocking.rs | |||
| @@ -13,6 +13,7 @@ use super::Error; | |||
| 13 | /// There is no guarantee that muliple partitions on the same flash | 13 | /// There is no guarantee that muliple partitions on the same flash |
| 14 | /// operate on mutually exclusive ranges - such a separation is up to | 14 | /// operate on mutually exclusive ranges - such a separation is up to |
| 15 | /// the user to guarantee. | 15 | /// the user to guarantee. |
| 16 | #[derive(Clone)] | ||
| 16 | pub struct BlockingPartition<'a, M: RawMutex, T: NorFlash> { | 17 | pub struct BlockingPartition<'a, M: RawMutex, T: NorFlash> { |
| 17 | flash: &'a Mutex<M, RefCell<T>>, | 18 | flash: &'a Mutex<M, RefCell<T>>, |
| 18 | offset: u32, | 19 | offset: u32, |
