implement get_destination_status #177
@ -10,8 +10,8 @@ pub extern fn get_destination_status(destination: i32) -> bool {
|
|||||||
core1_rx.recv()
|
core1_rx.recv()
|
||||||
};
|
};
|
||||||
return match reply {
|
return match reply {
|
||||||
Message::UpDestinationsReply(true) => true,
|
Message::UpDestinationsReply(x) => x,
|
||||||
_ => false
|
_ => panic!("received unexpected reply to UpDestinationsRequest: {:?}", reply)
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user