Commit 05b0a894 authored by yoogx's avatar yoogx
Browse files

* Minor reformatting

parent dd1cd3b4
......@@ -5,13 +5,16 @@
*
* For more informations, please visit http://taste.tuxfamily.org/wiki
*
* Copyright (C) 2010-2017 ESA & ISAE.
* Copyright (C) 2010-2018 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)
......
Markdown is supported
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