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

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

View File

@ -3,7 +3,7 @@ use embassy_hal_common::into_ref;
use super::{Channel, ConfigurableChannel, Event, Ppi, StaticChannel, Task}; use super::{Channel, ConfigurableChannel, Event, Ppi, StaticChannel, Task};
use crate::{pac, Peripheral}; use crate::{pac, Peripheral};
impl<'d> Task<'_> { impl<'d> Task<'d> {
fn reg_val(&self) -> u32 { fn reg_val(&self) -> u32 {
self.0.as_ptr() as _ self.0.as_ptr() as _
} }