Skip to content

Commit 89cb6db

Browse files
Abrahamh08adamgreig
authored andcommitted
Fix wording on clear_current (#563)
1 parent 9632980 commit 89cb6db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cortex-m/src/peripheral/syst.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ const SYST_CALIB_NOREF: u32 = 1 << 31;
3939
impl SYST {
4040
/// Clears current value to 0
4141
///
42-
/// After calling `clear_current()`, the next call to `has_wrapped()` will return `false`.
42+
/// After calling `clear_current()`, the next call to `has_wrapped()`, unless called after the reload time (if the counter is enabled), will return `false`.
4343
#[inline]
4444
pub fn clear_current(&mut self) {
4545
unsafe { self.cvr.write(0) }

0 commit comments

Comments
 (0)