File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ defmt = { version = "0.3.2", optional = true }
26
26
embedded-hal = " 0.2.7"
27
27
fixed = " 1.20.0"
28
28
sensirion-i2c = " 0.2"
29
- embedded-hal-async = { version = " 1.0.0-rc.1 " , optional = true }
29
+ embedded-hal-async = { version = " 1.0.0-rc.3 " , optional = true }
30
30
31
31
[features ]
32
32
default = [" blocking" ]
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ use embedded_hal::blocking::{
11
11
} ;
12
12
#[ cfg( feature = "async" ) ]
13
13
use embedded_hal_async:: {
14
- delay:: DelayUs ,
14
+ delay:: DelayNs ,
15
15
i2c:: { I2c , SevenBitAddress } ,
16
16
} ;
17
17
#[ cfg( feature = "blocking" ) ]
@@ -200,7 +200,7 @@ where
200
200
impl < I , D , E > Sht4x < I , D >
201
201
where
202
202
I : I2c < SevenBitAddress , Error = E > ,
203
- D : DelayUs ,
203
+ D : DelayNs ,
204
204
{
205
205
/// Creates a new driver instance using the given I2C bus. It configures the default I2C
206
206
/// address 0x44 used by most family members.
You can’t perform that action at this time.
0 commit comments