diff options
| author | Süha Ünüvar <[email protected]> | 2025-09-02 23:20:01 +0800 |
|---|---|---|
| committer | Süha Ünüvar <[email protected]> | 2025-09-02 23:20:01 +0800 |
| commit | 698109acfe263e9441f6aa501b2649b16d19b115 (patch) | |
| tree | af5b4151cea99696326ac5aa8f3e72c5226b5392 | |
| parent | f247fcf817e3c215b8ba2396ca360dfc914c6c60 (diff) | |
derive Clone, Copy for qspi config
| -rw-r--r-- | embassy-stm32/src/qspi/mod.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/embassy-stm32/src/qspi/mod.rs b/embassy-stm32/src/qspi/mod.rs index 1e20d7cd3..bdc3b7f34 100644 --- a/embassy-stm32/src/qspi/mod.rs +++ b/embassy-stm32/src/qspi/mod.rs | |||
| @@ -46,6 +46,7 @@ impl Default for TransferConfig { | |||
| 46 | } | 46 | } |
| 47 | 47 | ||
| 48 | /// QSPI driver configuration. | 48 | /// QSPI driver configuration. |
| 49 | #[derive(Clone, Copy)] | ||
| 49 | pub struct Config { | 50 | pub struct Config { |
| 50 | /// Flash memory size representend as 2^[0-32], as reasonable minimum 1KiB(9) was chosen. | 51 | /// Flash memory size representend as 2^[0-32], as reasonable minimum 1KiB(9) was chosen. |
| 51 | /// If you need other value the whose predefined use `Other` variant. | 52 | /// If you need other value the whose predefined use `Other` variant. |
