Skip to content

Commit

Permalink
one typo; one misleading comment fixed (#2153)
Browse files Browse the repository at this point in the history
* one typo; one misleading comment fixed

* agreed simplification
  • Loading branch information
lure23 authored Sep 12, 2024
1 parent 562c891 commit 351a649
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion esp-hal/src/timer/systimer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion examples/src/bin/i2c_display.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 351a649

Please sign in to comment.