From 6205d6da478be0392beaaee27e2f48e8e223a6ca Mon Sep 17 00:00:00 2001 From: Dion Dokter Date: Tue, 19 Oct 2021 10:20:22 +0200 Subject: [PATCH] typo --- embassy-nrf/src/ppi/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/embassy-nrf/src/ppi/mod.rs b/embassy-nrf/src/ppi/mod.rs index ffb6af020..bfbc69b79 100644 --- a/embassy-nrf/src/ppi/mod.rs +++ b/embassy-nrf/src/ppi/mod.rs @@ -78,7 +78,7 @@ impl<'d, C: Channel, const EVENT_COUNT: usize, const TASK_COUNT: usize> Drop } impl<'d, C: ZeroToOneChannel> Ppi<'d, C, 0, 1> { - pub fn new_static_to_one(ch: impl Unborrow + 'd, task: Task) -> Self { + pub fn new_zero_to_one(ch: impl Unborrow + 'd, task: Task) -> Self { unborrow!(ch); let events = [];