mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-16 08:38:26 +00:00
allow main menu to be used if there are no root keys
This commit is contained in:
parent
ed09ee03ef
commit
d74673ab29
1 changed files with 3 additions and 0 deletions
|
|
@ -662,6 +662,9 @@ fn wrapped_main() -> ! {
|
|||
if !pddb_os.rootkeys_initialized() {
|
||||
// can't mount if we have no root keys
|
||||
log::info!("{}PDDB.SKIPMOUNT,{}", xous::BOOKEND_START, xous::BOOKEND_END);
|
||||
// allow the main menu to be used in this case
|
||||
let gam = gam::Gam::new(&xns).unwrap();
|
||||
gam.allow_mainmenu().expect("coudln't allow main menu activation");
|
||||
xous::return_scalar2(msg.sender, 1, 0).expect("could't return scalar");
|
||||
} else {
|
||||
match ensure_password(&modals, &mut pddb_os, pw_cid) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue