Skip to content

Commit

Permalink
Unnecessary static constraint
Browse files Browse the repository at this point in the history
  • Loading branch information
ivmarkov committed Oct 9, 2023
1 parent 0822b00 commit 102eb94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/asyncify/timer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ mod async_traits_impl {

impl<T> embedded_hal_async::delay::DelayUs for AsyncTimer<T>
where
T: crate::timer::OnceTimer + Send + 'static,
T: crate::timer::OnceTimer + Send,
{
async fn delay_us(&mut self, us: u32) {
AsyncTimer::after(self, Duration::from_micros(us as _))
Expand Down

0 comments on commit 102eb94

Please sign in to comment.