diff --git a/services/com/src/main.rs b/services/com/src/main.rs index 5f0dd05d5..5eb5cc279 100644 --- a/services/com/src/main.rs +++ b/services/com/src/main.rs @@ -128,6 +128,7 @@ mod implementation { while self.csr.rf(utra::com::STATUS_HOLD) == 1 && !timed_out { if (self.ticktimer.elapsed_ms() - curtime) > to { + log::warn!("COM timeout"); timed_out = true; } xous::yield_slice(); @@ -150,6 +151,7 @@ mod implementation { while self.csr.rf(utra::com::STATUS_HOLD) == 1 && !timed_out { if (self.ticktimer.elapsed_ms() - curtime) > to { + log::warn!("COM timeout"); timed_out = true; } xous::yield_slice();