diff --git a/hil-test/tests/i2c.rs b/hil-test/tests/i2c.rs index 1c2000992..a4f6513da 100644 --- a/hil-test/tests/i2c.rs +++ b/hil-test/tests/i2c.rs @@ -251,6 +251,10 @@ mod tests { ); defmt::info!("Transaction cancelled"); + + // Ping the sensor to ensure we don't randomly get an address failure in the next + // iteration. + _ = i2c.write_async(DUT_ADDRESS, &[]).await; } let mut read_data = [0u8; 22];