mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-15 08:30:02 +00:00
fix incorrect &mut self in library call
This commit is contained in:
parent
9aef2eb7b4
commit
21fb59c4d9
1 changed files with 1 additions and 1 deletions
|
|
@ -66,7 +66,7 @@ impl Susres {
|
|||
})
|
||||
}
|
||||
|
||||
pub fn initiate_suspend(&mut self) -> Result<(), xous::Error> {
|
||||
pub fn initiate_suspend(&self) -> Result<(), xous::Error> {
|
||||
log::trace!("suspend initiated");
|
||||
send_message(self.conn,
|
||||
Message::new_scalar(Opcode::SuspendRequest.to_usize().unwrap(), 0, 0, 0, 0)
|
||||
|
|
|
|||
Loading…
Reference in a new issue