xous: carton: use send_message()

This function now works as expected.

Signed-off-by: Sean Cross <sean@xobs.io>
This commit is contained in:
Sean Cross 2020-10-30 10:11:35 +08:00
parent 6225cf11b0
commit a35a75b1f2

View file

@ -62,7 +62,7 @@ impl<'a> Carton<'a> {
offset: None,
valid: None,
};
crate::try_send_message(connection, Message::Borrow(msg))
crate::send_message(connection, Message::Borrow(msg))
}
/// Perform a mutable lend of this Carton to the server.
@ -73,7 +73,7 @@ impl<'a> Carton<'a> {
offset: None,
valid: None,
};
crate::try_send_message(connection, Message::MutableBorrow(msg))
crate::send_message(connection, Message::MutableBorrow(msg))
}
}