diff options
| author | jrmoulton <[email protected]> | 2025-06-10 15:58:02 -0600 |
|---|---|---|
| committer | jrmoulton <[email protected]> | 2025-06-10 16:01:50 -0600 |
| commit | 4efb3b4f3f0178b98ea25f3957393ab6977c89de (patch) | |
| tree | 5cacb71ceca12180e95031791c93c53e83bca307 /examples | |
| parent | fb711395222509c80877b8f74a267c258f03ffae (diff) | |
fix ci
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/stm32h7/src/bin/i2c_shared.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/stm32h7/src/bin/i2c_shared.rs b/examples/stm32h7/src/bin/i2c_shared.rs index ec5757284..655ff901f 100644 --- a/examples/stm32h7/src/bin/i2c_shared.rs +++ b/examples/stm32h7/src/bin/i2c_shared.rs | |||
| @@ -33,7 +33,7 @@ bind_interrupts!(struct Irqs { | |||
| 33 | }); | 33 | }); |
| 34 | 34 | ||
| 35 | #[embassy_executor::task] | 35 | #[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>>) { |
| 37 | let mut data = [0u8; 2]; | 37 | let mut data = [0u8; 2]; |
| 38 | 38 | ||
| 39 | loop { | 39 | loop { |
| @@ -50,7 +50,7 @@ async fn temperature(mut i2c: I2cDevice<'static, NoopRawMutex, I2c<'static, Asyn | |||
| 50 | } | 50 | } |
| 51 | 51 | ||
| 52 | #[embassy_executor::task] | 52 | #[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>>) { |
| 54 | let mut data = [0u8; 6]; | 54 | let mut data = [0u8; 6]; |
| 55 | 55 | ||
| 56 | loop { | 56 | loop { |
