From d639b3db55c4438956521311a73c2a085b3d0448 Mon Sep 17 00:00:00 2001 From: bunnie Date: Mon, 11 Jul 2022 04:13:04 +0800 Subject: [PATCH] fix debug output --- services/status/src/ecup.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/services/status/src/ecup.rs b/services/status/src/ecup.rs index a7f48c77c..6dd529fb0 100644 --- a/services/status/src/ecup.rs +++ b/services/status/src/ecup.rs @@ -181,7 +181,6 @@ pub(crate) fn ecupdate_thread(sid: xous::SID) { const WF200_HASH_LEN: usize = 0x48; // this is actually hash + signature + keyset let ec_reported_rev = com.get_ec_sw_tag().unwrap(); // fetch the purported rev from the EC. We take it at face value. - log::info!("EC reported rev: {:?}", ec_reported_rev); let mut did_something = false; let package = unsafe{ core::slice::from_raw_parts(ec_package.as_ptr() as *const u8, xous::EC_FW_PKG_LEN as usize)}; @@ -260,7 +259,7 @@ pub(crate) fn ecupdate_thread(sid: xous::SID) { continue; } } else { - log::info!("EC Autoupdate check found that EC rev {:?} is newer or same as update rev {:?}; no update done", ec_reported_rev, pkg_ver); + log::info!("EC Autoupdate check found that EC rev {} is newer or same as update rev {}; no update done", ec_reported_rev.to_string(), pkg_ver.to_string()); } let package = unsafe{ core::slice::from_raw_parts(wf_package.as_ptr() as *const u8, xous::EC_WF200_PKG_LEN as usize)};