Commit b2b9cd44 authored by julien.delange's avatar julien.delange
Browse files

add configuration directive to increase drivers number

when using spacewire



git-svn-id: https://tecsw.estec.esa.int/svn/taste/trunk/po-hi-c@587 129961e7-ef38-4bb5-a8f7-c9a525a55882
parent 753edbea
...@@ -17,3 +17,7 @@ ...@@ -17,3 +17,7 @@
#ifdef __PO_HI_NEED_DRIVER_SERIAL_RASTA #ifdef __PO_HI_NEED_DRIVER_SERIAL_RASTA
#define CONFIGURE_MAXIMUM_DRIVERS 16 #define CONFIGURE_MAXIMUM_DRIVERS 16
#endif #endif
#ifdef __PO_HI_NEED_DRIVER_SPACEWIRE_RASTA
#define CONFIGURE_MAXIMUM_DRIVERS 16
#endif
...@@ -111,6 +111,7 @@ void __po_hi_c_driver_spacewire_rasta_init (char* name, char* location) ...@@ -111,6 +111,7 @@ void __po_hi_c_driver_spacewire_rasta_init (char* name, char* location)
if (po_hi_c_driver_rasta_spacewire_fd < 0) if (po_hi_c_driver_rasta_spacewire_fd < 0)
{ {
__DEBUGMSG(" ERROR !\n"); __DEBUGMSG(" ERROR !\n");
return;
} }
__DEBUGMSG(" OK !\n"); __DEBUGMSG(" OK !\n");
......
...@@ -36,16 +36,6 @@ void __po_hi_initialize_add_task () ...@@ -36,16 +36,6 @@ void __po_hi_initialize_add_task ()
int __po_hi_initialize () int __po_hi_initialize ()
{ {
/*
#include <sys/time.h>
struct timeval tv;
struct timezone tz;
tz.tz_dsttime = DST_USA;
tz.tz_minuteswest = 0;
tv.tv_sec = 10;
tv.tv_usec = 0;
settimeofday (&tv, &tz);
*/
#ifdef RTEMS_POSIX #ifdef RTEMS_POSIX
#include <rtems/rtems/clock.h> #include <rtems/rtems/clock.h>
rtems_status_code status; rtems_status_code status;
......
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