Remove left-in comments and logs

This commit is contained in:
Zoey Riordan 2022-09-21 11:06:06 +02:00
parent 3d708a459c
commit 0f55f5a73d

View File

@ -427,10 +427,8 @@ impl<'u, 'd: 'u, U: UarteInstance, T: TimerInstance> embedded_io::asynch::Write
impl<'a, U: UarteInstance, T: TimerInstance> Drop for StateInner<'a, U, T> { impl<'a, U: UarteInstance, T: TimerInstance> Drop for StateInner<'a, U, T> {
fn drop(&mut self) { fn drop(&mut self) {
debug!("oh no, dropping uarte");
let r = U::regs(); let r = U::regs();
// TODO this probably deadlocks. do like Uarte instead.
r.inten.reset(); r.inten.reset();
r.events_rxto.reset(); r.events_rxto.reset();
r.tasks_stoprx.write(|w| w.tasks_stoprx().set_bit()); r.tasks_stoprx.write(|w| w.tasks_stoprx().set_bit());