mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-13 07:48:30 +00:00
a big bank of AES tests got formatted. I think it's NBD, the constants for AES testing are...not changing.
20 lines
376 B
Rust
20 lines
376 B
Rust
use xous_ipc::String;
|
|
|
|
use crate::{CommonEnv, ShellCmdApi};
|
|
|
|
#[derive(Debug)]
|
|
pub struct Echo {}
|
|
|
|
impl<'a> ShellCmdApi<'a> for Echo {
|
|
cmd_api!(echo);
|
|
|
|
// inserts boilerplate for command API
|
|
|
|
fn process(
|
|
&mut self,
|
|
args: String<1024>,
|
|
_env: &mut CommonEnv,
|
|
) -> Result<Option<String<1024>>, xous::Error> {
|
|
Ok(Some(args))
|
|
}
|
|
}
|