Merge branch 'main' of https://github.com/embassy-rs/embassy into rtc-lp

This commit is contained in:
xoviat
2023-08-22 16:58:43 -05:00
145 changed files with 3933 additions and 1276 deletions

View File

@ -72,6 +72,7 @@ impl core::ops::Sub for RtcInstant {
}
}
#[allow(dead_code)]
#[derive(Clone, Copy)]
pub(crate) enum WakeupPrescaler {
Div2,
@ -120,6 +121,7 @@ impl From<WakeupPrescaler> for u32 {
}
}
#[allow(dead_code)]
impl WakeupPrescaler {
pub fn compute_min(val: u32) -> Self {
*[