Skip to content

Commit

Permalink
Merge pull request #563 from Abrahamh08/patch-1
Browse files Browse the repository at this point in the history
Fix wording on clear_current
  • Loading branch information
adamgreig authored Nov 3, 2024
2 parents ff9c1aa + 3004a57 commit 9aadad7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cortex-m/src/peripheral/syst.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ const SYST_CALIB_NOREF: u32 = 1 << 31;
impl SYST {
/// Clears current value to 0
///
/// After calling `clear_current()`, the next call to `has_wrapped()` will return `false`.
/// After calling `clear_current()`, the next call to `has_wrapped()`, unless called after the reload time (if the counter is enabled), will return `false`.
#[inline]
pub fn clear_current(&mut self) {
unsafe { self.cvr.write(0) }
Expand Down

0 comments on commit 9aadad7

Please sign in to comment.