diff options
| author | Dion Dokter <[email protected]> | 2021-10-19 10:20:22 +0200 |
|---|---|---|
| committer | Dario Nieuwenhuis <[email protected]> | 2021-10-26 14:47:33 +0200 |
| commit | 6205d6da478be0392beaaee27e2f48e8e223a6ca (patch) | |
| tree | 65155608924eedd90525426acf63a61f00e3f537 | |
| parent | a6c84cb91552fc0442a28126d3fae60031aa6622 (diff) | |
typo
| -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 = []; |
