diff options
| author | Cameron <[email protected]> | 2023-06-29 18:13:46 +0200 |
|---|---|---|
| committer | Cameron <[email protected]> | 2023-06-29 18:13:46 +0200 |
| commit | fef338f5c2d21ad1f45247579b27ffdf33f1096f (patch) | |
| tree | 5eece099d602111dfbec03b4ba23e4efd2942a64 | |
| parent | 24e186e6849223ee076e0fabdfed07d2cd7f7baf (diff) | |
Lifetime groups
| -rw-r--r-- | embassy-nrf/src/ppi/mod.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/embassy-nrf/src/ppi/mod.rs b/embassy-nrf/src/ppi/mod.rs index f6771c2a3..9092529ac 100644 --- a/embassy-nrf/src/ppi/mod.rs +++ b/embassy-nrf/src/ppi/mod.rs | |||
| @@ -31,9 +31,9 @@ pub(crate) use _version::*; | |||
| 31 | pub struct Ppi<'d, C: Channel, const EVENT_COUNT: usize, const TASK_COUNT: usize> { | 31 | pub struct Ppi<'d, C: Channel, const EVENT_COUNT: usize, const TASK_COUNT: usize> { |
| 32 | ch: PeripheralRef<'d, C>, | 32 | ch: PeripheralRef<'d, C>, |
| 33 | #[cfg(feature = "_dppi")] | 33 | #[cfg(feature = "_dppi")] |
| 34 | events: [Event; EVENT_COUNT], | 34 | events: [Event<'d>; EVENT_COUNT], |
| 35 | #[cfg(feature = "_dppi")] | 35 | #[cfg(feature = "_dppi")] |
| 36 | tasks: [Task; TASK_COUNT], | 36 | tasks: [Task<'d>; TASK_COUNT], |
| 37 | } | 37 | } |
| 38 | 38 | ||
| 39 | /// PPI channel group driver. | 39 | /// PPI channel group driver. |
