Adjusted build issue
This commit is contained in:
parent
81cbb0fc32
commit
bca2c54948
1 changed files with 2 additions and 2 deletions
|
@ -320,9 +320,9 @@ impl<'d, const N: usize> Saadc<'d, N> {
|
|||
timer.cc(0).write(sample_counter);
|
||||
timer.cc(0).short_compare_clear();
|
||||
|
||||
let compare_event = timer.cc(0).event_compare();
|
||||
let timer_cc = timer.cc(0);
|
||||
|
||||
let mut sample_ppi = Ppi::new_one_to_one(ppi_ch2, compare_event, Task::from_reg(&r.tasks_sample));
|
||||
let mut sample_ppi = Ppi::new_one_to_one(ppi_ch2, timer_cc.event_compare(), Task::from_reg(&r.tasks_sample));
|
||||
|
||||
timer.start();
|
||||
|
||||
|
|
Loading…
Reference in a new issue