diff options
| author | Cameron <[email protected]> | 2023-06-30 11:37:53 +0200 |
|---|---|---|
| committer | Cameron <[email protected]> | 2023-06-30 11:37:53 +0200 |
| commit | c69f2929c0702701d49b3cd9dcc14d5a6664f5dc (patch) | |
| tree | 00b8c7a348979a98b521c4e08e78d105a33b6045 | |
| parent | 4d23ea554b73f377c1a2c2aca15c4284b188231c (diff) | |
Build failures
| -rw-r--r-- | embassy-nrf/src/ppi/dppi.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/embassy-nrf/src/ppi/dppi.rs b/embassy-nrf/src/ppi/dppi.rs index c0d6f228e..40ccb2f09 100644 --- a/embassy-nrf/src/ppi/dppi.rs +++ b/embassy-nrf/src/ppi/dppi.rs | |||
| @@ -12,7 +12,7 @@ pub(crate) fn regs() -> &'static pac::dppic::RegisterBlock { | |||
| 12 | 12 | ||
| 13 | impl<'d, C: ConfigurableChannel> Ppi<'d, C, 1, 1> { | 13 | impl<'d, C: ConfigurableChannel> Ppi<'d, C, 1, 1> { |
| 14 | /// Configure PPI channel to trigger `task` on `event`. | 14 | /// Configure PPI channel to trigger `task` on `event`. |
| 15 | pub fn new_one_to_one(ch: impl Peripheral<P = C> + 'd, event: Event, task: Task) -> Self { | 15 | pub fn new_one_to_one(ch: impl Peripheral<P = C> + 'd, event: Event<'d>, task: Task<'d>) -> Self { |
| 16 | Ppi::new_many_to_many(ch, [event], [task]) | 16 | Ppi::new_many_to_many(ch, [event], [task]) |
| 17 | } | 17 | } |
| 18 | } | 18 | } |
