From e0521ea249d375097c9d62c602b8f598e6b65292 Mon Sep 17 00:00:00 2001 From: Dario Nieuwenhuis Date: Sat, 23 Jul 2022 01:43:41 +0200 Subject: [PATCH] fix nrf dppi --- embassy-nrf/src/ppi/dppi.rs | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/embassy-nrf/src/ppi/dppi.rs b/embassy-nrf/src/ppi/dppi.rs index d0bffb1e0..87ebb7084 100644 --- a/embassy-nrf/src/ppi/dppi.rs +++ b/embassy-nrf/src/ppi/dppi.rs @@ -1,5 +1,3 @@ -use core::marker::PhantomData; - use embassy_hal_common::unborrow; use super::{Channel, ConfigurableChannel, Event, Ppi, Task}; @@ -48,12 +46,7 @@ impl<'d, C: ConfigurableChannel, const EVENT_COUNT: usize, const TASK_COUNT: usi unsafe { event.publish_reg().write_volatile(val) } } - Self { - ch, - events, - tasks, - phantom: PhantomData, - } + Self { ch, events, tasks } } }