diff --git a/src/compass.rs b/src/compass.rs index 2209ae5..5e5d022 100644 --- a/src/compass.rs +++ b/src/compass.rs @@ -17,6 +17,7 @@ pub struct Compass { impl Compass { /// Initialize the onboard Lsm303dhlc e-Compass + #[allow(clippy::too_many_arguments)] pub fn new( pb6: gpiob::PB6, pb7: gpiob::PB7, diff --git a/src/leds.rs b/src/leds.rs index 7ea5897..b9de673 100644 --- a/src/leds.rs +++ b/src/leds.rs @@ -63,6 +63,7 @@ pub struct Leds { impl Leds { /// Initializes the user LEDs to OFF + #[allow(clippy::too_many_arguments)] pub fn new( pe8: gpioe::PE8, pe9: gpioe::PE9,