mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-19 09:00:54 +00:00
add a note to remind about the purpose of the unsub test command
This commit is contained in:
parent
d23dbd1db8
commit
a9b2dd535a
1 changed files with 1 additions and 0 deletions
|
|
@ -63,6 +63,7 @@ impl<'a> ShellCmdApi<'a> for NetCmd {
|
||||||
if let Some(sub_cmd) = tokens.next() {
|
if let Some(sub_cmd) = tokens.next() {
|
||||||
match sub_cmd {
|
match sub_cmd {
|
||||||
"unsub" => {
|
"unsub" => {
|
||||||
|
// this is just for testing the unsub call itself. It should result in the connection manager itself breaking.
|
||||||
match env.netmgr.wifi_state_unsubscribe() {
|
match env.netmgr.wifi_state_unsubscribe() {
|
||||||
Ok(_) => write!(ret, "wifi state successful"),
|
Ok(_) => write!(ret, "wifi state successful"),
|
||||||
Err(e) => write!(ret, "wifi unsub error: {:?}", e),
|
Err(e) => write!(ret, "wifi unsub error: {:?}", e),
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue