Removed unnecessary changes

This commit is contained in:
Cameron 2023-07-05 09:23:39 +02:00
parent 2c5146f19f
commit ab7fcf1d5b

View File

@ -352,13 +352,12 @@ 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 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.task_disable_all(),
);
ppi_ch2.disable();
ppi_group.add_channel(&ppi_ch2);