Gate consts

This commit is contained in:
James Munns
2026-03-12 15:56:11 +01:00
parent a20076bdb2
commit ef7b5781cb
2 changed files with 2 additions and 1 deletions

View File

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

View File

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