Skip to content
Snippets Groups Projects
Commit d4250ed6 authored by berge's avatar berge
Browse files

Fixed some issues in Denm

parent df8f1bd0
No related branches found
No related tags found
No related merge requests found
......@@ -351,14 +351,18 @@ module LibItsDenm_Functions {
* @return
*/
function f_awaitDenMessageOut(in template (present) DenmInd p_rcvMsg, out template (value) DenmInd p_rcvdMsg) runs on ItsFa return FncRetCode {
var FncRetCode v_ret := e_success;
var FncRetCode v_ret := e_timeout;
tc_wait.start;
tc_ac.start;
alt {
[] denmPort.receive(p_rcvMsg) -> value p_rcvdMsg {
tc_wait.stop;
tc_ac.stop;
v_ret := e_success;
}
[] tc_ac.timeout {
log("Timeout while awaiting the reception of a message");
v_ret := e_timeout;
}
}
return v_ret;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment