diff options
| -rw-r--r-- | embassy-nrf/src/ppi/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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 | |||
| 78 | } | 78 | } |
| 79 | 79 | ||
| 80 | impl<'d, C: ZeroToOneChannel> Ppi<'d, C, 0, 1> { | 80 | impl<'d, C: ZeroToOneChannel> Ppi<'d, C, 0, 1> { |
| 81 | pub fn new_static_to_one(ch: impl Unborrow<Target = C> + 'd, task: Task) -> Self { | 81 | pub fn new_zero_to_one(ch: impl Unborrow<Target = C> + 'd, task: Task) -> Self { |
| 82 | unborrow!(ch); | 82 | unborrow!(ch); |
| 83 | 83 | ||
| 84 | let events = []; | 84 | let events = []; |
