diff --git a/esp-hal/src/timer/systimer.rs b/esp-hal/src/timer/systimer.rs index 4107bb3e04b..e8e4bdd9742 100644 --- a/esp-hal/src/timer/systimer.rs +++ b/esp-hal/src/timer/systimer.rs @@ -49,7 +49,7 @@ //! //! let mut systimer = SystemTimer::new(peripherals.SYSTIMER); //! -//! // Get the current timestamp, in microseconds: +//! // Get the current tick count: //! let now = SystemTimer::now(); //! //! let frozen_unit = FrozenUnit::new(&mut systimer.unit0); diff --git a/examples/src/bin/i2c_display.rs b/examples/src/bin/i2c_display.rs index 05a950ae850..35600e24215 100644 --- a/examples/src/bin/i2c_display.rs +++ b/examples/src/bin/i2c_display.rs @@ -53,7 +53,7 @@ fn main() -> ! { .build(); loop { - // Fill display bufffer with a centered text with two lines (and two text + // Fill display buffer with a centered text with two lines (and two text // styles) Text::with_alignment( "esp-hal",