Update embassy-nrf/src/ppi/mod.rs

Co-authored-by: Dario Nieuwenhuis <dirbaio@dirbaio.net>
This commit is contained in:
Cameron Harris 2023-07-05 19:10:16 +02:00 committed by GitHub
parent 8ee2f50b8c
commit fb3e6a2b40
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -128,7 +128,7 @@ const REGISTER_DPPI_CONFIG_OFFSET: usize = 0x80 / core::mem::size_of::<u32>();
#[derive(PartialEq, Eq, Clone, Copy)] #[derive(PartialEq, Eq, Clone, Copy)]
pub struct Task<'d>(NonNull<u32>, PhantomData<&'d ()>); pub struct Task<'d>(NonNull<u32>, PhantomData<&'d ()>);
impl<'d> Task<'_> { impl<'d> Task<'d> {
/// Create a new `Task` from a task register pointer /// Create a new `Task` from a task register pointer
/// ///
/// # Safety /// # Safety