Skip to content

Commit c0e5b20

Browse files
authored
Merge pull request #1 from kj800x/main
Support embedded-hal `1.0.0-alpha.9`
2 parents 990cb71 + 6c65122 commit c0e5b20

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ default = []
1919
std = []
2020

2121
[dependencies]
22-
embedded-hal = "=1.0.0-alpha.8"
22+
embedded-hal = "=1.0.0-alpha.9"
2323

2424
[dev-dependencies]
2525
anyhow = "1"

src/lib.rs

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,8 @@
33

44
use core::fmt;
55
use embedded_hal::{
6-
delay::blocking::DelayUs,
7-
digital::{
8-
blocking::{InputPin, OutputPin},
9-
PinState,
10-
},
6+
delay::DelayUs,
7+
digital::{InputPin, OutputPin, PinState},
118
};
129

1310
/// A sensor reading

0 commit comments

Comments
 (0)