Skip to content

Commit 51832d0

Browse files
committed
bump e-h version
1 parent fb0c358 commit 51832d0

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

Cargo.toml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ lazy_static = "1.4.0"
2222
failure = "0.1.7"
2323

2424
[dependencies.embedded-hal]
25-
version = "=1.0.0-alpha.2"
25+
version = "1.0.0-alpha.3"
2626

2727
[dependencies.structopt]
2828
version = "0.3.5"
@@ -51,8 +51,6 @@ path = "src/cli.rs"
5151
required-features = [ "util" ]
5252

5353
[patch.crates-io]
54-
# Patch to e-h master for transactional SPI support, remove at v1.0.0-alpha.3
55-
embedded-hal = { git = "https://github.com/rust-embedded/embedded-hal", branch = "master" }
56-
5754
# Patch to support better discovery of libusb, oh to remove this...
5855
libusb-sys = { git = "https://github.com/cmsd2/libusb-sys/", branch = "master" }
56+

src/device.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,8 +285,8 @@ impl <'a> Inner<'a> {
285285

286286
// Detach kernel driver if required
287287
// TODO: track this and re-enable kernel driver on closing?
288-
debug!("Checking for active kernel driver");
289288
if opts.detach_kernel_driver {
289+
debug!("Checking for active kernel driver");
290290
match handle.kernel_driver_active(control.iface)? {
291291
true => {
292292
debug!("Detaching kernel driver");

0 commit comments

Comments
 (0)