fix nrf dppi
This commit is contained in:
parent
be6408e202
commit
e0521ea249
1 changed files with 1 additions and 8 deletions
|
@ -1,5 +1,3 @@
|
||||||
use core::marker::PhantomData;
|
|
||||||
|
|
||||||
use embassy_hal_common::unborrow;
|
use embassy_hal_common::unborrow;
|
||||||
|
|
||||||
use super::{Channel, ConfigurableChannel, Event, Ppi, Task};
|
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) }
|
unsafe { event.publish_reg().write_volatile(val) }
|
||||||
}
|
}
|
||||||
|
|
||||||
Self {
|
Self { ch, events, tasks }
|
||||||
ch,
|
|
||||||
events,
|
|
||||||
tasks,
|
|
||||||
phantom: PhantomData,
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue