aboutsummaryrefslogtreecommitdiff
path: root/embassy-nrf
diff options
context:
space:
mode:
authorCameron <[email protected]>2023-06-30 11:34:13 +0200
committerCameron <[email protected]>2023-06-30 11:34:13 +0200
commit4d23ea554b73f377c1a2c2aca15c4284b188231c (patch)
treec47e528763f846d95ee899f158126b85f78a1221 /embassy-nrf
parentd6fde756a8c5f01e2557165fd2bba457143a3586 (diff)
Build failures
Diffstat (limited to 'embassy-nrf')
-rw-r--r--embassy-nrf/src/ppi/dppi.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/embassy-nrf/src/ppi/dppi.rs b/embassy-nrf/src/ppi/dppi.rs
index af2267453..c0d6f228e 100644
--- a/embassy-nrf/src/ppi/dppi.rs
+++ b/embassy-nrf/src/ppi/dppi.rs
@@ -19,8 +19,8 @@ impl<'d, C: ConfigurableChannel> Ppi<'d, C, 1, 1> {
19 19
20impl<'d, C: ConfigurableChannel> Ppi<'d, C, 1, 2> { 20impl<'d, C: ConfigurableChannel> Ppi<'d, C, 1, 2> {
21 /// Configure PPI channel to trigger both `task1` and `task2` on `event`. 21 /// Configure PPI channel to trigger both `task1` and `task2` on `event`.
22 pub fn new_one_to_two(ch: impl Peripheral<P = C> + 'd, event: Event, task1: Task, task2: Task) -> Self { 22 pub fn new_one_to_two(ch: impl Peripheral<P = C> + 'd, event: Event<'d>, task1: Task<'d>, task2: Task<'d>) -> Self {
23 Ppi<'d>::new_many_to_many(ch, [event], [task1, task2]) 23 Ppi::new_many_to_many(ch, [event], [task1, task2])
24 } 24 }
25} 25}
26 26