Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
PolyORB-HI-C
Commits
05b0a894
Commit
05b0a894
authored
Apr 20, 2018
by
yoogx
Browse files
* Minor reformatting
parent
dd1cd3b4
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/drivers/po_hi_driver_rasta_spacewire.c
View file @
05b0a894
...
...
@@ -5,13 +5,16 @@
*
* For more informations, please visit http://taste.tuxfamily.org/wiki
*
* Copyright (C) 2010-201
7
ESA & ISAE.
* Copyright (C) 2010-201
8
ESA & ISAE.
*/
#ifdef __PO_HI_NEED_DRIVER_SPACEWIRE_RASTA
#include
<string.h>
// for memcpy
#include
<deployment.h>
/* Generated code header */
#ifdef __PO_HI_NEED_DRIVER_SPACEWIRE_RASTA
#include
<activity.h>
#include
<marshallers.h>
...
...
@@ -56,7 +59,7 @@
/* Rasta includes from GAISLER drivers */
__po_hi_request_t
__po_hi_c_driver_spacewire_rasta_request
;
__po_hi_request_t
__po_hi_c_driver_spacewire_rasta_request
;
__po_hi_msg_t
__po_hi_c_driver_spacewire_rasta_poller_msg
;
int
po_hi_c_driver_rasta_spacewire_fd
[
__PO_HI_NB_DEVICES
];
char
__po_hi_c_driver_rasta_spacewire_sndbuf
[
__PO_HI_MESSAGES_MAX_SIZE
+
1
];
...
...
@@ -64,10 +67,8 @@ char __po_hi_c_driver_rasta_spacewire_sndbuf[__PO_HI_MESSAGES_MA
void
__po_hi_c_driver_spacewire_rasta_poller
(
const
__po_hi_device_id
dev_id
)
{
int
len
;
int
j
;
int
ts
;
__PO_HI_DEBUG_DEBUG
(
"[RASTA SPACEWIRE] Hello, i'm the spacewire poller !
\n
"
);
__po_hi_msg_reallocate
(
&
__po_hi_c_driver_spacewire_rasta_poller_msg
);
...
...
@@ -203,7 +204,6 @@ void __po_hi_c_driver_spacewire_rasta_init (__po_hi_device_id id)
#endif
}
__po_hi_msg_t
__po_hi_c_driver_spacewire_rasta_sender_msg
;
int
__po_hi_c_driver_spacewire_rasta_sender
(
const
__po_hi_task_id
task_id
,
const
__po_hi_port_t
port
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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