Skip to content

Commit 9aadad7

Browse files
authored
Merge pull request #563 from Abrahamh08/patch-1
Fix wording on clear_current
2 parents ff9c1aa + 3004a57 commit 9aadad7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cortex-m/src/peripheral/syst.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ const SYST_CALIB_NOREF: u32 = 1 << 31;
5353
impl SYST {
5454
/// Clears current value to 0
5555
///
56-
/// After calling `clear_current()`, the next call to `has_wrapped()` will return `false`.
56+
/// After calling `clear_current()`, the next call to `has_wrapped()`, unless called after the reload time (if the counter is enabled), will return `false`.
5757
#[inline]
5858
pub fn clear_current(&mut self) {
5959
unsafe { self.cvr.write(0) }

0 commit comments

Comments
 (0)