implement get_destination_status #177

Merged
sb10q merged 4 commits from mwojcik/artiq-zynq:rtio_destination_status into master 2022-03-25 18:20:05 +08:00
Showing only changes of commit b80cb3b288 - Show all commits

View File

@ -10,8 +10,8 @@ pub extern fn get_destination_status(destination: i32) -> bool {
core1_rx.recv()
};
return match reply {
Message::UpDestinationsReply(true) => true,
_ => false
Message::UpDestinationsReply(x) => x,
_ => panic!("received unexpected reply to UpDestinationsRequest: {:?}", reply)
};
}