Rename rtc.rs to time_driver.rs

We will add another time driver for user selection.
This commit is contained in:
Felipe Balbi 2025-05-07 08:33:03 -07:00
parent 6034b17728
commit 70e2c05205
2 changed files with 2 additions and 2 deletions

View File

@ -22,7 +22,7 @@ pub mod gpio;
pub mod iopctl;
#[cfg(feature = "_time-driver")]
pub mod rtc;
pub mod time_driver;
// This mod MUST go last, so that it sees all the `impl_foo!' macros
#[cfg_attr(feature = "mimxrt633s", path = "chips/mimxrt633s.rs")]
@ -137,7 +137,7 @@ pub fn init(config: config::Config) -> Peripherals {
// init RTC time driver
#[cfg(feature = "_time-driver")]
rtc::init(config.time_interrupt_priority);
time_driver::init(config.time_interrupt_priority);
peripherals
}