diff options
author | Dion Dokter <dion@tweedegolf.com> | 2021-10-19 10:20:22 +0200 |
---|---|---|
committer | Dario Nieuwenhuis <dirbaio@dirbaio.net> | 2021-10-26 14:47:33 +0200 |
commit | 6205d6da478be0392beaaee27e2f48e8e223a6ca (patch) | |
tree | 65155608924eedd90525426acf63a61f00e3f537 /embassy-nrf/src/ppi | |
parent | a6c84cb91552fc0442a28126d3fae60031aa6622 (diff) | |
download | embassy-6205d6da478be0392beaaee27e2f48e8e223a6ca.zip |
typo
Diffstat (limited to 'embassy-nrf/src/ppi')
-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 ffb6af02..bfbc69b7 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<Target = C> + 'd, task: Task) -> Self { + pub fn new_zero_to_one(ch: impl Unborrow<Target = C> + 'd, task: Task) -> Self { unborrow!(ch); let events = []; |