mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-19 09:00:54 +00:00
add enhanced debug to time
This commit is contained in:
parent
b83c75bbf0
commit
239cdef1ef
1 changed files with 3 additions and 1 deletions
|
|
@ -190,7 +190,9 @@ pub fn start_time_server() {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
let msg = xous::receive_message(pub_sid).unwrap();
|
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) => {
|
Some(TimeOp::PddbMountPoll) => {
|
||||||
tt.sleep_ms(330).unwrap();
|
tt.sleep_ms(330).unwrap();
|
||||||
if temp < 10 {
|
if temp < 10 {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue