diff options
Diffstat (limited to 'embassy-time/src/timer.rs')
| -rw-r--r-- | embassy-time/src/timer.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/embassy-time/src/timer.rs b/embassy-time/src/timer.rs index d6d0a46e2..757c3ff00 100644 --- a/embassy-time/src/timer.rs +++ b/embassy-time/src/timer.rs | |||
| @@ -203,7 +203,7 @@ impl Ticker { | |||
| 203 | } | 203 | } |
| 204 | 204 | ||
| 205 | /// Waits for the next tick. | 205 | /// Waits for the next tick. |
| 206 | pub fn next(&mut self) -> impl Future<Output = ()> + '_ { | 206 | pub fn next(&mut self) -> impl Future<Output = ()> + Send + Sync + '_ { |
| 207 | poll_fn(|cx| { | 207 | poll_fn(|cx| { |
| 208 | if self.expires_at <= Instant::now() { | 208 | if self.expires_at <= Instant::now() { |
| 209 | let dur = self.duration; | 209 | let dur = self.duration; |
