Seems to help
This commit is contained in:
		
							parent
							
								
									00f77c4a92
								
							
						
					
					
						commit
						a142be8bb8
					
				| @ -375,6 +375,9 @@ impl<'d, T: Instance, TXDMA, RXDMA> I2c<'d, T, TXDMA, RXDMA> { | |||||||
|                         T::regs().sr2().read(); |                         T::regs().sr2().read(); | ||||||
|                         Poll::Ready(Ok(())) |                         Poll::Ready(Ok(())) | ||||||
|                     } else { |                     } else { | ||||||
|  |                         // If we need to go around, then re-enable the interrupts, otherwise nothing
 | ||||||
|  |                         // can wake us up and we'll hang.
 | ||||||
|  |                         Self::enable_interrupts(); | ||||||
|                         Poll::Pending |                         Poll::Pending | ||||||
|                     } |                     } | ||||||
|                 } |                 } | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user