Compare commits

..

No commits in common. "63d71d021ca673d0b34a44279cd13e120d810835" and "88a2a2bc7155722b6f69a1d4ca3fb09c6fb00adf" have entirely different histories.

2 changed files with 1 additions and 8 deletions

View File

@ -49,7 +49,7 @@ let
name = "${crate}";
src = ./.;
crateSubdir = crate;
cargoSha256 = "02k72zj6qfbw9y69w3r9a1b1dg9pvkc7cl511hcv4w9rbnn3jlld";
cargoSha256 = "1fvild4mygcvnfcnmni4icg5nj16dj7hkzjpahzhpbyv9rr24722";
cargoFeatures = features;
doCheck = false;
};

View File

@ -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;
}