diff options
| author | James Munns <[email protected]> | 2025-12-11 16:28:29 +0100 |
|---|---|---|
| committer | James Munns <[email protected]> | 2025-12-11 16:28:29 +0100 |
| commit | 5eae94057016407c3ed40316bffae9c8efa56247 (patch) | |
| tree | 6f97de4870d28567e80a7d2567a2449731743028 /embassy-mcxa/src | |
| parent | 91f0b599835d5bc4fc99276668d3faa0a871c38a (diff) | |
Take mut lifetime
Diffstat (limited to 'embassy-mcxa/src')
| -rw-r--r-- | embassy-mcxa/src/rtc.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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 { | |||
| 203 | } | 203 | } |
| 204 | /// Minimal RTC handle for a specific instance I (store the zero-sized token like embassy) | 204 | /// Minimal RTC handle for a specific instance I (store the zero-sized token like embassy) |
| 205 | pub struct Rtc<'a> { | 205 | pub struct Rtc<'a> { |
| 206 | _inst: core::marker::PhantomData<&'a ()>, | 206 | _inst: core::marker::PhantomData<&'a mut ()>, |
| 207 | info: &'static pac::rtc0::RegisterBlock, | 207 | info: &'static pac::rtc0::RegisterBlock, |
| 208 | } | 208 | } |
| 209 | 209 | ||
