From 3c87091565cacb62a1c5f9bc16d8f2f4e76a2b45 Mon Sep 17 00:00:00 2001 From: bunnie Date: Mon, 17 Jan 2022 04:36:40 +0800 Subject: [PATCH] cleanup the policy token straggler --- services/gam/src/tokens.rs | 4 ++-- services/status/src/main.rs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/services/gam/src/tokens.rs b/services/gam/src/tokens.rs index 39f966b8b..5e37ecadc 100644 --- a/services/gam/src/tokens.rs +++ b/services/gam/src/tokens.rs @@ -10,14 +10,14 @@ */ // 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] = [ "shellchat", "main menu", "status", "emoji menu", "rootkeys modal", - "rootkeys menu", + //"rootkeys menu", "pddb modal", "shared modal", "pddb menu", diff --git a/services/status/src/main.rs b/services/status/src/main.rs index a17ca1170..ed1805b6f 100644 --- a/services/status/src/main.rs +++ b/services/status/src/main.rs @@ -623,7 +623,7 @@ fn xmain() -> ! { } } 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"); }, Some(StatusOpcode::TrySuspend) => {