Formatting stuff

This commit is contained in:
Cameron 2023-06-30 11:54:37 +02:00
parent bca2c54948
commit 93caf97a04

View File

@ -352,13 +352,13 @@ impl<'d, U: UarteInstance, T: TimerInstance> BufferedUarte<'d, U, T> {
s.rx_ppi_ch.store(ppi_ch2.number() as u8, Ordering::Relaxed);
let mut ppi_group = PpiGroup::new(ppi_group);
let ppi_group_channel_disable_all_task = ppi_group.task_disable_all();
let ppi_group_channel_disable_all_task = ppi_group.task_disable_all();
let mut ppi_ch2 = Ppi::new_one_to_two(
ppi_ch2,
Event::from_reg(&r.events_endrx),
Task::from_reg(&r.tasks_startrx),
ppi_group_channel_disable_all_task
ppi_group_channel_disable_all_task,
);
ppi_ch2.disable();
ppi_group.add_channel(&ppi_ch2);