Skip to content

Commit

Permalink
Merge pull request #729 from stm32-rs/doc
Browse files Browse the repository at this point in the history
document sdio
  • Loading branch information
burrbull committed Jan 14, 2024
2 parents ccb29f2 + 633fe9d commit b414ad5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ repository = "https://github.com/stm32-rs/stm32f4xx-hal"
version = "0.20.0"

[package.metadata.docs.rs]
features = ["stm32f429", "usb_fs", "can", "i2s", "fsmc_lcd", "rtic1", "defmt"]
features = ["stm32f429", "usb_fs", "can", "i2s", "fsmc_lcd", "rtic1", "defmt", "sdio-host"]
targets = ["thumbv7em-none-eabihf"]

[dependencies]
Expand Down
1 change: 1 addition & 0 deletions src/fsmc_lcd/pins.rs
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@ pub struct DataPins16 {
impl DataPins for DataPins16 {}

impl DataPins16 {
#[allow(clippy::too_many_arguments)]
#[inline(always)]
pub fn new(
d0: impl Into<alt::D0>,
Expand Down
2 changes: 1 addition & 1 deletion src/rng.rs
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ impl Rng {
}
}

/// Releases ownership of the [RNG](crate::pac::RNG) peripheral object
/// Releases ownership of the [`RNG`] peripheral object
/// (after which `self` can't be used anymore).
pub fn release(self) -> RNG {
self.rb
Expand Down

0 comments on commit b414ad5

Please sign in to comment.