Compare commits
No commits in common. "63d71d021ca673d0b34a44279cd13e120d810835" and "88a2a2bc7155722b6f69a1d4ca3fb09c6fb00adf" have entirely different histories.
63d71d021c
...
88a2a2bc71
|
@ -49,7 +49,7 @@ let
|
|||
name = "${crate}";
|
||||
src = ./.;
|
||||
crateSubdir = crate;
|
||||
cargoSha256 = "02k72zj6qfbw9y69w3r9a1b1dg9pvkc7cl511hcv4w9rbnn3jlld";
|
||||
cargoSha256 = "1fvild4mygcvnfcnmni4icg5nj16dj7hkzjpahzhpbyv9rr24722";
|
||||
cargoFeatures = features;
|
||||
doCheck = false;
|
||||
};
|
||||
|
|
|
@ -1,7 +0,0 @@
|
|||
use embedded_hal::timer::CountDown;
|
||||
use crate::block_async;
|
||||
|
||||
pub async fn delay<T: CountDown<Time=C>, C>(timer: &mut T, count: C) {
|
||||
timer.start(count);
|
||||
let _ = block_async!(timer.wait()).await;
|
||||
}
|
Loading…
Reference in New Issue