From 5eae94057016407c3ed40316bffae9c8efa56247 Mon Sep 17 00:00:00 2001 From: James Munns Date: Thu, 11 Dec 2025 16:28:29 +0100 Subject: Take mut lifetime --- embassy-mcxa/src/rtc.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/embassy-mcxa/src/rtc.rs b/embassy-mcxa/src/rtc.rs index 41dcc98df..c5474d34a 100644 --- a/embassy-mcxa/src/rtc.rs +++ b/embassy-mcxa/src/rtc.rs @@ -203,7 +203,7 @@ pub fn get_default_config() -> RtcConfig { } /// Minimal RTC handle for a specific instance I (store the zero-sized token like embassy) pub struct Rtc<'a> { - _inst: core::marker::PhantomData<&'a ()>, + _inst: core::marker::PhantomData<&'a mut ()>, info: &'static pac::rtc0::RegisterBlock, } -- cgit