Skip to content

Commit 18754c3

Browse files
committed
Fix typos
1 parent eb3aef7 commit 18754c3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

examples/i2c-fmp-as5600.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
//!
66
//! The I2C bus is configured with Fast Mode Plus (FMP) enabled in SysCfg, and a 1MHz I2C clock rate.
77
//!
8-
//! ```DEFMT_LOG=debug cargo run --release --example rand --features stm32g431,defmt -- --chip STM32G431KBTx```
8+
//! ```DEFMT_LOG=debug cargo run --release --example i2c-fmp-as5600 --features stm32g431,defmt -- --chip STM32G431KBTx```
99
1010
#![deny(warnings)]
1111
#![deny(unsafe_code)]

src/syscfg.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ impl SysCfg {
3434
/// Pins that are configured as I2C alternate functions will be configured as fast mode plus.
3535
/// The alternate function mode of the pin must be set before FMP is enabled in SysCfg.
3636
///
37-
/// When FM+ mode is activated on a pin, the GPIO speed configuration (OSPEEDR) is is ignored and overridden.
37+
/// When FM+ mode is activated on a pin, the GPIO speed configuration (OSPEEDR) is ignored and overridden.
3838
///
3939
pub fn i2c_fmp_enable<const BUS: u8>(&mut self, en: bool) {
4040
match BUS {

0 commit comments

Comments
 (0)