mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-17 08:40:52 +00:00
cleanup the policy token straggler
This commit is contained in:
parent
11162860a8
commit
3c87091565
2 changed files with 3 additions and 3 deletions
|
|
@ -10,14 +10,14 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// if you add more UxContexts, and you want them authorized by the GAM, add their names here.
|
// if you add more UxContexts, and you want them authorized by the GAM, add their names here.
|
||||||
const TOKEN_SLOTS: usize = 9;
|
const TOKEN_SLOTS: usize = 8;
|
||||||
const EXPECTED_BOOT_CONTEXTS: [&'static str; TOKEN_SLOTS] = [
|
const EXPECTED_BOOT_CONTEXTS: [&'static str; TOKEN_SLOTS] = [
|
||||||
"shellchat",
|
"shellchat",
|
||||||
"main menu",
|
"main menu",
|
||||||
"status",
|
"status",
|
||||||
"emoji menu",
|
"emoji menu",
|
||||||
"rootkeys modal",
|
"rootkeys modal",
|
||||||
"rootkeys menu",
|
//"rootkeys menu",
|
||||||
"pddb modal",
|
"pddb modal",
|
||||||
"shared modal",
|
"shared modal",
|
||||||
"pddb menu",
|
"pddb menu",
|
||||||
|
|
|
||||||
|
|
@ -623,7 +623,7 @@ fn xmain() -> ! {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Some(StatusOpcode::SubmenuPddb) => {
|
Some(StatusOpcode::SubmenuPddb) => {
|
||||||
ticktimer.sleep_ms(100).ok();
|
ticktimer.sleep_ms(100).ok(); // yield for a moment to allow the previous menu to close
|
||||||
gam.raise_menu(pddb::PDDB_MENU_NAME).expect("couldn't raise PDDB submenu");
|
gam.raise_menu(pddb::PDDB_MENU_NAME).expect("couldn't raise PDDB submenu");
|
||||||
},
|
},
|
||||||
Some(StatusOpcode::TrySuspend) => {
|
Some(StatusOpcode::TrySuspend) => {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue