Update embassy-nrf/src/ppi/ppi.rs
Co-authored-by: Dario Nieuwenhuis <dirbaio@dirbaio.net>
This commit is contained in:
parent
67c4d165c7
commit
082147939d
@ -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 _
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user