Implement time feature

This commit is contained in:
chemicstry
2022-10-24 11:38:15 +03:00
parent 4ce4131f8b
commit d99841fea9
5 changed files with 9 additions and 2 deletions

View File

@ -44,6 +44,7 @@ impl From<RampTime> for core::time::Duration {
}
}
#[cfg(feature = "time")]
impl From<RampTime> for embassy_time::Duration {
fn from(rt: RampTime) -> Self {
match rt {