add enhanced debug to time

This commit is contained in:
bunnie 2022-07-14 03:50:13 +08:00
parent b83c75bbf0
commit 239cdef1ef

View file

@ -190,7 +190,9 @@ pub fn start_time_server() {
break;
}
let msg = xous::receive_message(pub_sid).unwrap();
match FromPrimitive::from_usize(msg.body.id()) {
let op: Option<TimeOp> = FromPrimitive::from_usize(msg.body.id());
log::debug!("{:?}", op);
match op {
Some(TimeOp::PddbMountPoll) => {
tt.sleep_ms(330).unwrap();
if temp < 10 {