restrict debug access when running vault app

this removes the security message about the debug core
being unlocked
This commit is contained in:
bunnie 2022-06-27 02:33:23 +08:00
parent a7ce3e6204
commit ed4f7b2092

View file

@ -774,5 +774,6 @@ impl VaultUx {
}
pub(crate) fn ensure_hid(&self) {
self.usb_dev.ensure_core(usb_device_xous::UsbDeviceType::Hid).unwrap();
self.usb_dev.restrict_debug_access(true).unwrap();
}
}