556: Lower some verbose logs to trace. r=Dirbaio a=Dirbaio



Co-authored-by: Dario Nieuwenhuis <dirbaio@dirbaio.net>
This commit is contained in:
bors[bot] 2021-12-23 12:44:32 +00:00 committed by GitHub
commit 63d980df7e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 9 additions and 9 deletions

View file

@ -247,7 +247,7 @@ impl<'d, T: Instance> Drop for Qspi<'d, T> {
let r = T::regs();
if self.dpm_enabled {
info!("qspi: doing deep powerdown...");
trace!("qspi: doing deep powerdown...");
r.ifconfig1.modify(|_, w| w.dpmen().enter());
@ -281,7 +281,7 @@ impl<'d, T: Instance> Drop for Qspi<'d, T> {
gpio::deconfigure_pin(r.psel.io2.read().bits());
gpio::deconfigure_pin(r.psel.io3.read().bits());
info!("qspi: dropped");
trace!("qspi: dropped");
}
}

View file

@ -161,7 +161,7 @@ impl<'d, T: Instance> Spim<'d, T> {
impl<'d, T: Instance> Drop for Spim<'d, T> {
fn drop(&mut self) {
info!("spim drop");
trace!("spim drop");
// TODO check for abort, wait for xxxstopped
@ -173,7 +173,7 @@ impl<'d, T: Instance> Drop for Spim<'d, T> {
gpio::deconfigure_pin(r.psel.miso.read().bits());
gpio::deconfigure_pin(r.psel.mosi.read().bits());
info!("spim drop: done");
trace!("spim drop: done");
}
}

View file

@ -448,7 +448,7 @@ impl<'d, T: Instance> Twim<'d, T> {
impl<'a, T: Instance> Drop for Twim<'a, T> {
fn drop(&mut self) {
info!("twim drop");
trace!("twim drop");
// TODO when implementing async here, check for abort
@ -459,7 +459,7 @@ impl<'a, T: Instance> Drop for Twim<'a, T> {
gpio::deconfigure_pin(r.psel.sda.read().bits());
gpio::deconfigure_pin(r.psel.scl.read().bits());
info!("twim drop: done");
trace!("twim drop: done");
}
}

View file

@ -157,15 +157,15 @@ where
unsafe fn on_interrupt(_: *mut ()) {
let ris = crate::pac::DCMI.ris().read();
if ris.err_ris() {
error!("DCMI IRQ: Error.");
trace!("DCMI IRQ: Error.");
crate::pac::DCMI.ier().modify(|ier| ier.set_err_ie(false));
}
if ris.ovr_ris() {
error!("DCMI IRQ: Overrun.");
trace!("DCMI IRQ: Overrun.");
crate::pac::DCMI.ier().modify(|ier| ier.set_ovr_ie(false));
}
if ris.frame_ris() {
info!("DCMI IRQ: Frame captured.");
trace!("DCMI IRQ: Frame captured.");
crate::pac::DCMI.ier().modify(|ier| ier.set_frame_ie(false));
}
STATE.waker.wake();