From 0f55f5a73d356dc991dbc3c4bc102e7d652c5fc5 Mon Sep 17 00:00:00 2001 From: Zoey Riordan Date: Wed, 21 Sep 2022 11:06:06 +0200 Subject: [PATCH] Remove left-in comments and logs --- embassy-nrf/src/buffered_uarte.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/embassy-nrf/src/buffered_uarte.rs b/embassy-nrf/src/buffered_uarte.rs index 84ef86c96..3ee3e9477 100644 --- a/embassy-nrf/src/buffered_uarte.rs +++ b/embassy-nrf/src/buffered_uarte.rs @@ -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> { fn drop(&mut self) { - debug!("oh no, dropping uarte"); let r = U::regs(); - // TODO this probably deadlocks. do like Uarte instead. r.inten.reset(); r.events_rxto.reset(); r.tasks_stoprx.write(|w| w.tasks_stoprx().set_bit());