mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-18 08:52:45 +00:00
WIP: #334
I don't have a way to test this, but maybe you can give it a try and see if it fixes as described in the issue.
This commit is contained in:
parent
f4fabc3f8e
commit
cd0269036d
1 changed files with 68 additions and 64 deletions
4
apps/vault/src/env/xous/mod.rs
vendored
4
apps/vault/src/env/xous/mod.rs
vendored
|
|
@ -307,6 +307,7 @@ impl XousEnv {
|
||||||
};
|
};
|
||||||
let update = buf.to_original::<Ctap1Request, _>().unwrap();
|
let update = buf.to_original::<Ctap1Request, _>().unwrap();
|
||||||
let app_id_str = hex::encode(update.app_id);
|
let app_id_str = hex::encode(update.app_id);
|
||||||
|
if update.app_id != [0u8; 32] {
|
||||||
// note the access
|
// note the access
|
||||||
let mut info = {
|
let mut info = {
|
||||||
// fetch the application info, if it exists
|
// fetch the application info, if it exists
|
||||||
|
|
@ -382,6 +383,9 @@ impl XousEnv {
|
||||||
_ => log::error!("Error updating app atime"),
|
_ => log::error!("Error updating app atime"),
|
||||||
}
|
}
|
||||||
pddb.sync().ok();
|
pddb.sync().ok();
|
||||||
|
} else {
|
||||||
|
log::warn!("app_id is all 0's; bypassing name association");
|
||||||
|
}
|
||||||
|
|
||||||
log::debug!("sycing UI state...");
|
log::debug!("sycing UI state...");
|
||||||
xous::send_message(
|
xous::send_message(
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue