mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-16 08:38:26 +00:00
fix mass-storage feature missing in shellchat
This commit is contained in:
parent
26f12990f1
commit
02cd24e799
2 changed files with 4 additions and 0 deletions
|
|
@ -127,4 +127,5 @@ nettest = [] # batch network tests
|
|||
tls = ["rustls", "webpki-roots", "ring", "tungstenite", "url"]
|
||||
shellperf = ["ring", "perflib", "xous/v2p", "random-pick"] # this also needs the project-wide "perfcounter" feature to be selected. shellchat is the exclusive manager of the performance counter, do not use with e.g. "vaultperf" feature
|
||||
extra-tests = []
|
||||
mass-storage = []
|
||||
default = [] # "debugprint"
|
||||
|
|
|
|||
|
|
@ -19,7 +19,10 @@ impl<'a> ShellCmdApi<'a> for Usb {
|
|||
|
||||
fn process(&mut self, args: xous_ipc::String::<1024>, _env: &mut CommonEnv) -> Result<Option<xous_ipc::String::<1024>>, xous::Error> {
|
||||
let mut ret = xous_ipc::String::<1024>::new();
|
||||
#[cfg(not(feature="mass-storage"))]
|
||||
let helpstring = "usb [hid] [fido] [debug] [send <string>] [status] [leds] [lock] [unlock] [kbdtest]";
|
||||
#[cfg(feature="mass-storage")]
|
||||
let helpstring = "usb [hid] [fido] [ms] [debug] [send <string>] [status] [leds] [lock] [unlock] [kbdtest]";
|
||||
|
||||
let mut tokens = args.as_str().unwrap().split(' ');
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue