mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-18 08:52:45 +00:00
restrict debug access when running vault app
this removes the security message about the debug core being unlocked
This commit is contained in:
parent
a7ce3e6204
commit
ed4f7b2092
1 changed files with 1 additions and 0 deletions
|
|
@ -774,5 +774,6 @@ impl VaultUx {
|
||||||
}
|
}
|
||||||
pub(crate) fn ensure_hid(&self) {
|
pub(crate) fn ensure_hid(&self) {
|
||||||
self.usb_dev.ensure_core(usb_device_xous::UsbDeviceType::Hid).unwrap();
|
self.usb_dev.ensure_core(usb_device_xous::UsbDeviceType::Hid).unwrap();
|
||||||
|
self.usb_dev.restrict_debug_access(true).unwrap();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Loading…
Reference in a new issue