Removed debugging logs

This commit is contained in:
huntc 2021-10-14 16:55:50 +11:00
parent 103a3305e2
commit 16b6c78332

View File

@ -317,7 +317,6 @@ impl<'d, const N: usize> Saadc<'d, N> {
if r.events_end.read().bits() != 0 { if r.events_end.read().bits() != 0 {
r.events_end.reset(); r.events_end.reset();
r.intenset.write(|w| w.end().set()); r.intenset.write(|w| w.end().set());
info!("Ended");
if sampler(&bufs[current_buffer][0..r.result.amount.read().bits() as usize]) if sampler(&bufs[current_buffer][0..r.result.amount.read().bits() as usize])
== SamplerState::Sampled == SamplerState::Sampled
@ -334,7 +333,6 @@ impl<'d, const N: usize> Saadc<'d, N> {
if r.events_started.read().bits() != 0 { if r.events_started.read().bits() != 0 {
r.events_started.reset(); r.events_started.reset();
r.intenset.write(|w| w.started().set()); r.intenset.write(|w| w.started().set());
info!("Started");
if let Mode::Timers(_) = mode { if let Mode::Timers(_) = mode {
r.tasks_sample.write(|w| unsafe { w.bits(1) }); r.tasks_sample.write(|w| unsafe { w.bits(1) });