stm32/rtc: allow dead code
This commit is contained in:
parent
8878ce046c
commit
048bdf6968
@ -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 {
|
||||
*[
|
||||
|
Loading…
Reference in New Issue
Block a user