You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How about adding Clock::delay(&self) -> impl Delay function (maybe behind feature gate)?
It could be useful as currently many hal crates only provides SysTick based delay.
I will make a PR if you like.
The text was updated successfully, but these errors were encountered:
I'm not seeing a Delay trait in embedded-hal. It does have DelayUs and DelayMs. These could possibly be implemented, but I think the proper implementation would be for Timer. I'm thinking something like this:
How about adding
Clock::delay(&self) -> impl Delay
function (maybe behind feature gate)?It could be useful as currently many hal crates only provides SysTick based delay.
I will make a PR if you like.
The text was updated successfully, but these errors were encountered: