Skip to content

Commit 4efb3b4

Browse files
committed
fix ci
1 parent fb71139 commit 4efb3b4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/stm32h7/src/bin/i2c_shared.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ bind_interrupts!(struct Irqs {
3333
});
3434

3535
#[embassy_executor::task]
36-
async fn temperature(mut i2c: I2cDevice<'static, NoopRawMutex, I2c<'static, Async>>) {
36+
async fn temperature(mut i2c: I2cDevice<'static, NoopRawMutex, I2c<'static, Async, i2c::Master>>) {
3737
let mut data = [0u8; 2];
3838

3939
loop {
@@ -50,7 +50,7 @@ async fn temperature(mut i2c: I2cDevice<'static, NoopRawMutex, I2c<'static, Asyn
5050
}
5151

5252
#[embassy_executor::task]
53-
async fn humidity(mut i2c: I2cDevice<'static, NoopRawMutex, I2c<'static, Async>>) {
53+
async fn humidity(mut i2c: I2cDevice<'static, NoopRawMutex, I2c<'static, Async, i2c::Master>>) {
5454
let mut data = [0u8; 6];
5555

5656
loop {

0 commit comments

Comments
 (0)