mirror of
https://github.com/embassy-rs/embassy.git
synced 2026-04-17 11:34:31 +00:00
Gate consts
This commit is contained in:
@@ -16,7 +16,6 @@ mod mcxa2xx_exclusive {
|
||||
pub mod adc;
|
||||
pub mod flash;
|
||||
pub mod i3c;
|
||||
pub mod rtc;
|
||||
|
||||
pub use crate::chips::mcxa2xx::{Peripherals, init, interrupt, peripherals};
|
||||
}
|
||||
@@ -47,6 +46,7 @@ mod all_chips {
|
||||
pub mod ostimer;
|
||||
pub mod perf_counters;
|
||||
pub mod reset_reason;
|
||||
pub mod rtc;
|
||||
pub mod spi;
|
||||
pub mod trng;
|
||||
pub mod wwdt;
|
||||
|
||||
@@ -6,6 +6,7 @@ mod mcxa2xx;
|
||||
#[cfg(feature = "mcxa2xx")]
|
||||
pub use mcxa2xx::{InterruptHandler, Rtc, Rtc0, RtcConfig};
|
||||
|
||||
#[cfg(feature = "mcxa2xx")]
|
||||
pub(crate) mod consts {
|
||||
/// Number of days in a standard year
|
||||
pub(crate) const DAYS_IN_A_YEAR: u32 = 365;
|
||||
|
||||
Reference in New Issue
Block a user