update some text on the USB command to be more accurate

This commit is contained in:
bunnie 2022-07-23 17:32:13 +08:00
parent a0a51cab5c
commit edfbc1e4f0

View file

@ -103,7 +103,7 @@ impl<'a> ShellCmdApi<'a> for Usb {
} }
"unlock" => { "unlock" => {
self.usb_dev.restrict_debug_access(false).unwrap(); self.usb_dev.restrict_debug_access(false).unwrap();
write!(ret, "USB debug port unlocked: all secrets are readable via USB!").unwrap(); write!(ret, "USB debug port unlocked: portions of the device are readable via USB!").unwrap();
} }
_ => { _ => {
write!(ret, "{}", helpstring).unwrap(); write!(ret, "{}", helpstring).unwrap();