aboutsummaryrefslogtreecommitdiff
path: root/embassy-imxrt
diff options
context:
space:
mode:
Diffstat (limited to 'embassy-imxrt')
-rw-r--r--embassy-imxrt/src/lib.rs4
-rw-r--r--embassy-imxrt/src/time_driver.rs (renamed from embassy-imxrt/src/rtc.rs)0
2 files changed, 2 insertions, 2 deletions
diff --git a/embassy-imxrt/src/lib.rs b/embassy-imxrt/src/lib.rs
index 5fbf3244b..fdf07b433 100644
--- a/embassy-imxrt/src/lib.rs
+++ b/embassy-imxrt/src/lib.rs
@@ -22,7 +22,7 @@ pub mod gpio;
22pub mod iopctl; 22pub mod iopctl;
23 23
24#[cfg(feature = "_time-driver")] 24#[cfg(feature = "_time-driver")]
25pub mod rtc; 25pub mod time_driver;
26 26
27// This mod MUST go last, so that it sees all the `impl_foo!' macros 27// This mod MUST go last, so that it sees all the `impl_foo!' macros
28#[cfg_attr(feature = "mimxrt633s", path = "chips/mimxrt633s.rs")] 28#[cfg_attr(feature = "mimxrt633s", path = "chips/mimxrt633s.rs")]
@@ -137,7 +137,7 @@ pub fn init(config: config::Config) -> Peripherals {
137 137
138 // init RTC time driver 138 // init RTC time driver
139 #[cfg(feature = "_time-driver")] 139 #[cfg(feature = "_time-driver")]
140 rtc::init(config.time_interrupt_priority); 140 time_driver::init(config.time_interrupt_priority);
141 141
142 peripherals 142 peripherals
143} 143}
diff --git a/embassy-imxrt/src/rtc.rs b/embassy-imxrt/src/time_driver.rs
index 56a8f7397..56a8f7397 100644
--- a/embassy-imxrt/src/rtc.rs
+++ b/embassy-imxrt/src/time_driver.rs