Commit 93ea51af authored by Maxime Perrotin's avatar Maxime Perrotin
Browse files

Merge branch 'master' of https://gitrepos.estec.esa.int/taste/kazoo into feature_messageordering

parents aa7c7ba7 08c06554
Pipeline #1788 passed with stage
in 8 minutes and 51 seconds
......@@ -121,11 +121,11 @@ project @_CAPITALIZE:Name_@_AIR is
for Excluded_Source_Files use
("config.c",
"init.c",
"marshallers.c",
@@IF@@ @_In_Port_Names'Length_@ = 0 and @_Out_Port_Names'Length_@ = 0 and @_Thread_Src_Port'Length_@ = 0
"marshallers.c",
"po_hi_gqueue.c",
"po_hi_transport.c",
"po_hi_marshallers.c",
"po_hi_marshallers.c",
"po_hi_semaphore.c",
"air_polling.c",
@@END_IF@@
......
......@@ -35,6 +35,7 @@
#include <deployment.h>
#include <request.h>
#include <activity.h>
#include <marshallers.h>
#include <air.h>
#include <a653.h>
......@@ -47,7 +48,7 @@ void user_ports_polling ()
__po_hi_node_t tmpnode;
__po_hi_request_t request;
__po_hi_port_kind_t pkind;
static int debug_counter = 0;
__po_hi_msg_t msg;
RETURN_CODE_TYPE rc;
SAMPLING_PORT_CURRENT_STATUS_TYPE STATUS;
......@@ -66,10 +67,12 @@ void user_ports_polling ()
RECEIVE_QUEUING_MESSAGE(
__po_hi_transport_air_get_port (portno),
INFINITE_TIME_VALUE,
&request,
&msg,
&len,
&rc);
__po_hi_unmarshall_request (&request, &msg);
if (rc == NO_ERROR) {
__po_hi_main_deliver (&request);
} else {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment