Formatting stuff
This commit is contained in:
parent
bca2c54948
commit
93caf97a04
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user