Removed unnecessary changes
This commit is contained in:
		
							parent
							
								
									2c5146f19f
								
							
						
					
					
						commit
						ab7fcf1d5b
					
				| @ -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); |         s.rx_ppi_ch.store(ppi_ch2.number() as u8, Ordering::Relaxed); | ||||||
|         let mut ppi_group = PpiGroup::new(ppi_group); |         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( |         let mut ppi_ch2 = Ppi::new_one_to_two( | ||||||
|             ppi_ch2, |             ppi_ch2, | ||||||
|             Event::from_reg(&r.events_endrx), |             Event::from_reg(&r.events_endrx), | ||||||
|             Task::from_reg(&r.tasks_startrx), |             Task::from_reg(&r.tasks_startrx), | ||||||
|             ppi_group_channel_disable_all_task, |             ppi_group.task_disable_all(), | ||||||
|         ); |         ); | ||||||
|         ppi_ch2.disable(); |         ppi_ch2.disable(); | ||||||
|         ppi_group.add_channel(&ppi_ch2); |         ppi_group.add_channel(&ppi_ch2); | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user