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 }
2626embedded-hal = " 0.2.7"
2727fixed = " 1.20.0"
2828sensirion-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 }
3030
3131[features ]
3232default = [" blocking" ]
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ use embedded_hal::blocking::{
1111} ;
1212#[ cfg( feature = "async" ) ]
1313use embedded_hal_async:: {
14- delay:: DelayUs ,
14+ delay:: DelayNs ,
1515 i2c:: { I2c , SevenBitAddress } ,
1616} ;
1717#[ cfg( feature = "blocking" ) ]
@@ -200,7 +200,7 @@ where
200200impl < I , D , E > Sht4x < I , D >
201201where
202202 I : I2c < SevenBitAddress , Error = E > ,
203- D : DelayUs ,
203+ D : DelayNs ,
204204{
205205 /// Creates a new driver instance using the given I2C bus. It configures the default I2C
206206 /// address 0x44 used by most family members.
You can’t perform that action at this time.
0 commit comments