mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-15 08:30:02 +00:00
Fix wlan_leave() to send correct verb
wlan_leave() was mistakenly sending the verb for WLAN_JOIN. Signed-off-by: samblenny
This commit is contained in:
parent
5c93365acd
commit
a614ccffb7
1 changed files with 1 additions and 1 deletions
|
|
@ -353,7 +353,7 @@ impl Com {
|
|||
pub fn wlan_leave(&mut self) -> Result<xous::Result, xous::Error> {
|
||||
send_message(
|
||||
self.conn,
|
||||
Message::new_scalar(Opcode::WlanJoin.to_usize().unwrap(), 0, 0, 0, 0),
|
||||
Message::new_scalar(Opcode::WlanLeave.to_usize().unwrap(), 0, 0, 0, 0),
|
||||
)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue