aboutsummaryrefslogtreecommitdiff
path: root/embassy-time/src/timer.rs
diff options
context:
space:
mode:
authorFrostie314159 <[email protected]>2023-09-11 08:04:06 +0200
committerFrostie314159 <[email protected]>2023-09-11 08:04:06 +0200
commit527bdc57b9c4d5a77f725111570c5add9e646a6b (patch)
treed256dc27cb0328b3d72e2f9795425245115b4363 /embassy-time/src/timer.rs
parentde01fe352b954c58f8c403d30da496d880b7e353 (diff)
Fixed formating.
Diffstat (limited to 'embassy-time/src/timer.rs')
-rw-r--r--embassy-time/src/timer.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/embassy-time/src/timer.rs b/embassy-time/src/timer.rs
index 88134bc69..07ddf473f 100644
--- a/embassy-time/src/timer.rs
+++ b/embassy-time/src/timer.rs
@@ -133,7 +133,7 @@ impl Ticker {
133 Self { expires_at, duration } 133 Self { expires_at, duration }
134 } 134 }
135 135
136 /// Resets the ticker back to its original state. 136 /// Resets the ticker back to its original state.
137 /// This causes the ticker to go back to zero, even if the current tick isn't over yet. 137 /// This causes the ticker to go back to zero, even if the current tick isn't over yet.
138 pub fn reset(&mut self) { 138 pub fn reset(&mut self) {
139 self.expires_at = Instant::now() + self.duration; 139 self.expires_at = Instant::now() + self.duration;