shellchat: add ms verb to usb

Used to switch core to mass-storage mode
This commit is contained in:
Gianguido Sorà 2023-01-04 17:21:45 +01:00
parent 24d7cb5fcb
commit 110641ff76
No known key found for this signature in database

View file

@ -87,6 +87,7 @@ impl<'a> ShellCmdApi<'a> for Usb {
_ => write!(ret, "HID not connected to USB host").unwrap(),
}
}
Ok(UsbDeviceType::MassStorage) => write!(ret, "USB mass storage connected").unwrap(),
_ => write!(ret, "Invalid response checking status").unwrap(),
}
}