aboutsummaryrefslogtreecommitdiff
path: root/embassy-embedded-hal/Cargo.toml
diff options
context:
space:
mode:
authorShaw Drastin <[email protected]>2025-02-04 10:53:45 +0800
committerShaw Drastin <[email protected]>2025-02-04 10:55:47 +0800
commit188828775e83cbebb7a558843eae5eb50e1dc2b8 (patch)
tree40eb2c22abbcb4d2e0e8166dc3dd79989b2c521f /embassy-embedded-hal/Cargo.toml
parent2c8a550410653d58b103d71b7571668872dd79fa (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.toml1
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"]
22default = ["time"] 22default = ["time"]
23 23
24[dependencies] 24[dependencies]
25embassy-hal-internal = { version = "0.2.0", path = "../embassy-hal-internal" }
25embassy-futures = { version = "0.1.0", path = "../embassy-futures" } 26embassy-futures = { version = "0.1.0", path = "../embassy-futures" }
26embassy-sync = { version = "0.6.2", path = "../embassy-sync" } 27embassy-sync = { version = "0.6.2", path = "../embassy-sync" }
27embassy-time = { version = "0.4.0", path = "../embassy-time", optional = true } 28embassy-time = { version = "0.4.0", path = "../embassy-time", optional = true }