File tree 2 files changed +3
-5
lines changed 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ lazy_static = "1.4.0"
22
22
failure = " 0.1.7"
23
23
24
24
[dependencies .embedded-hal ]
25
- version = " = 1.0.0-alpha.2 "
25
+ version = " 1.0.0-alpha.3 "
26
26
27
27
[dependencies .structopt ]
28
28
version = " 0.3.5"
@@ -51,8 +51,6 @@ path = "src/cli.rs"
51
51
required-features = [ " util" ]
52
52
53
53
[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
-
57
54
# Patch to support better discovery of libusb, oh to remove this...
58
55
libusb-sys = { git = " https://github.com/cmsd2/libusb-sys/" , branch = " master" }
56
+
Original file line number Diff line number Diff line change @@ -285,8 +285,8 @@ impl <'a> Inner<'a> {
285
285
286
286
// Detach kernel driver if required
287
287
// TODO: track this and re-enable kernel driver on closing?
288
- debug ! ( "Checking for active kernel driver" ) ;
289
288
if opts. detach_kernel_driver {
289
+ debug ! ( "Checking for active kernel driver" ) ;
290
290
match handle. kernel_driver_active ( control. iface ) ? {
291
291
true => {
292
292
debug ! ( "Detaching kernel driver" ) ;
You can’t perform that action at this time.
0 commit comments