diff options
Diffstat (limited to 'embassy-nrf')
| -rw-r--r-- | embassy-nrf/src/uarte.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/embassy-nrf/src/uarte.rs b/embassy-nrf/src/uarte.rs index f377df49e..927a0ac08 100644 --- a/embassy-nrf/src/uarte.rs +++ b/embassy-nrf/src/uarte.rs | |||
| @@ -245,7 +245,7 @@ impl<'d, T: Instance> Uarte<'d, T> { | |||
| 245 | } | 245 | } |
| 246 | 246 | ||
| 247 | /// Return the endtx event for use with PPI | 247 | /// Return the endtx event for use with PPI |
| 248 | pub fn event_endtx(&self) -> Event { | 248 | pub fn event_endtx(&self) -> Event<'_> { |
| 249 | let r = T::regs(); | 249 | let r = T::regs(); |
| 250 | Event::from_reg(r.events_endtx()) | 250 | Event::from_reg(r.events_endtx()) |
| 251 | } | 251 | } |
