Skip to content

Commit

Permalink
Address upcoming clippy warnings
Browse files Browse the repository at this point in the history
Today's beta clippy warns when the first paragraph is too long.
  • Loading branch information
mciantyre committed Sep 5, 2024
1 parent 715a643 commit 31fa4fd
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions board/src/imxrt1010evk.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,9 @@ type ButtonPad = iomuxc::gpio_sd::GPIO_SD_05;

/// The UART console. Baud specified in lib.rs.
pub type Console = hal::lpuart::Lpuart<ConsolePins, 1>;

/// The debug serial console's pins.
///
/// The UART routes to the DAP coprocessor, so the specific pins are not
/// important. To interact with the console, attach to the serial interface of
/// your board's DAP coprocssor. The coprocessor shuttles the data between your
Expand Down Expand Up @@ -83,6 +86,8 @@ pub mod pwm {
use super::iomuxc;
use crate::hal::flexpwm;

/// The PWM peripheral instance.
///
/// The RAL qualifies this as "PWM 0," even if the board schematic and
/// reference manual qualify this as "PWM 1." This is due to how the RAL
/// auto-generated register definitions in the presence of multiple instances
Expand Down
2 changes: 2 additions & 0 deletions board/src/imxrt1060evk.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ pub type Button = hal::gpio::Input<()>;
/// The UART console. Baud specified in lib.rs.
pub type Console = hal::lpuart::Lpuart<ConsolePins, 1>;

/// The debug serial console's pins.
///
/// The UART routes to the DAP coprocessor, so the specific pins are not
/// important. To interact with the console, attach to the serial interface of
/// your board's DAP coprocssor. The coprocessor shuttles the data between your
Expand Down

0 comments on commit 31fa4fd

Please sign in to comment.