Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
AADLib
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
TASTE
AADLib
Commits
a0df8b47
Commit
a0df8b47
authored
Jun 11, 2018
by
yoogx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* Address a few warnings
For openaadl/ocarina#160
parent
4f6dcdac
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
7 deletions
+6
-7
examples/air/ping/air_polling.c
examples/air/ping/air_polling.c
+6
-7
No files found.
examples/air/ping/air_polling.c
View file @
a0df8b47
#include <stdio.h>
#include <deployment.h>
#include <po_hi_debug.h>
#include <po_hi_types.h>
#include <po_hi_transport.h>
#include <po_hi_gqueue.h>
#include <deployment.h>
#include <request.h>
#include <activity.h>
#include <air.h>
#include <a653.h>
...
...
@@ -18,13 +21,9 @@ void user_ports_polling ()
__po_hi_port_kind_t
pkind
;
RETURN_CODE_TYPE
rc
;
MESSAGE_SIZE_TYPE
SIZE
;
UPDATED_TYPE
UPDATED
;
VALIDITY_TYPE
VALIDITY
;
SAMPLING_PORT_CURRENT_STATUS_TYPE
STATUS
;
MESSAGE_SIZE_TYPE
len
;
PARTITION_ID_TYPE
self_id
;
char
message
[
1024
];
__DEBUGMSG
(
"Polling ports for partition
\n
"
);
...
...
@@ -46,11 +45,11 @@ void user_ports_polling ()
}
*/
__DEBUGMSG
(
"Testing port %d
\n
"
,
__po_hi_transport_
xtratum
_get_port
(
portno
));
__po_hi_transport_
air
_get_port
(
portno
));
if
(
pkind
==
__PO_HI_IN_EVENT_DATA_INTER_PROCESS
)
{
RECEIVE_QUEUING_MESSAGE
(
__po_hi_transport_
xtratum
_get_port
(
portno
),
(
__po_hi_transport_
air
_get_port
(
portno
),
INFINITE_TIME_VALUE
,
&
request
,
&
len
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment