diff options
| author | Shaw Drastin <[email protected]> | 2025-02-04 10:53:45 +0800 |
|---|---|---|
| committer | Shaw Drastin <[email protected]> | 2025-02-04 10:55:47 +0800 |
| commit | 188828775e83cbebb7a558843eae5eb50e1dc2b8 (patch) | |
| tree | 40eb2c22abbcb4d2e0e8166dc3dd79989b2c521f /embassy-embedded-hal/Cargo.toml | |
| parent | 2c8a550410653d58b103d71b7571668872dd79fa (diff) | |
SpiDevice cancel safety: always set CS pin to high on drop
If a transfer is dropped, the CS will stay in a low state, which
seems to be unsafe.
Diffstat (limited to 'embassy-embedded-hal/Cargo.toml')
| -rw-r--r-- | embassy-embedded-hal/Cargo.toml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/embassy-embedded-hal/Cargo.toml b/embassy-embedded-hal/Cargo.toml index 9dd2e419f..f385963f1 100644 --- a/embassy-embedded-hal/Cargo.toml +++ b/embassy-embedded-hal/Cargo.toml | |||
| @@ -22,6 +22,7 @@ time = ["dep:embassy-time"] | |||
| 22 | default = ["time"] | 22 | default = ["time"] |
| 23 | 23 | ||
| 24 | [dependencies] | 24 | [dependencies] |
| 25 | embassy-hal-internal = { version = "0.2.0", path = "../embassy-hal-internal" } | ||
| 25 | embassy-futures = { version = "0.1.0", path = "../embassy-futures" } | 26 | embassy-futures = { version = "0.1.0", path = "../embassy-futures" } |
| 26 | embassy-sync = { version = "0.6.2", path = "../embassy-sync" } | 27 | embassy-sync = { version = "0.6.2", path = "../embassy-sync" } |
| 27 | embassy-time = { version = "0.4.0", path = "../embassy-time", optional = true } | 28 | embassy-time = { version = "0.4.0", path = "../embassy-time", optional = true } |
