diff --git a/i2c2-target/src/lib.rs b/i2c2-target/src/lib.rs index 65be57d0f91271637b0ad2494d4087ea5b015b5d..c0fcdfebe1980b587fa7816b8b90559cf4c61e89 100644 --- a/i2c2-target/src/lib.rs +++ b/i2c2-target/src/lib.rs @@ -108,7 +108,6 @@ pub struct I2C2 { } impl I2C2 { - #[must_use] pub fn new(i2c2: peripherals::I2C2, pb10: PB10, pb11: PB11, addr: u16, prio: Priority) -> Self { // Set pins in AF mode let af_num = SclPin::af_num(&pb10);