From 399124f94289b7e2c211e5cccb1bdfa35b9bc38b Mon Sep 17 00:00:00 2001 From: bunnie Date: Sat, 10 Dec 2022 22:05:47 +0800 Subject: [PATCH] fix hosted mode --- services/root-keys/src/main.rs | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/services/root-keys/src/main.rs b/services/root-keys/src/main.rs index ca577b82c..b8277caaa 100644 --- a/services/root-keys/src/main.rs +++ b/services/root-keys/src/main.rs @@ -56,6 +56,7 @@ pub(crate) enum UpdateType { Regular, BbramProvision, Restore, + #[allow(dead_code)] EfuseProvision, } @@ -188,7 +189,12 @@ mod implementation { self.xous_init_interlock(); self.fake_progress(rootkeys_modal, main_cid, t!("rootkeys.setup_wait", xous::LANG)) } - pub fn do_gateware_update(&mut self, rootkeys_modal: &mut Modal, main_cid: xous::CID, _updatetype: UpdateType) -> Result<(), RootkeyResult> { + pub fn do_gateware_update(&mut self, + rootkeys_modal: &mut Modal, + _modals: &modals::Modals, + main_cid: xous::CID, + _updatetype: UpdateType + ) -> Result<(), RootkeyResult> { self.xous_init_interlock(); self.fake_progress(rootkeys_modal, main_cid, t!("rootkeys.gwup_starting", xous::LANG)) }