Skip to content

Commit

Permalink
Tidy clippy lints
Browse files Browse the repository at this point in the history
  • Loading branch information
richardeoin committed Jan 27, 2024
1 parent dc759ce commit 01f9d21
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion examples/sdmmc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ fn main() -> ! {
let gpiod = dp.GPIOD.split(ccdr.peripheral.GPIOD);

// STM32H747I-DISCO development board
#[cfg(any(feature = "rm0399"))]
#[cfg(feature = "rm0399")]
let mut led = {
let gpioi = dp.GPIOI.split(ccdr.peripheral.GPIOI);

Expand Down
1 change: 1 addition & 0 deletions examples/usb_phy_serial_interrupt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
//! This example is for RM0433/RM0399 parts. It has been tested on the Arduino
//! Portenta H7
#![deny(warnings)]
#![allow(clippy::type_complexity)]
#![no_std]
#![no_main]

Expand Down

0 comments on commit 01f9d21

Please sign in to comment.