diff include/BeagleRT.h @ 254:173978a5ab6a aux_task_args

Allow arguments to be passed to aux task function
author Liam Donovan <l.b.donovan@qmul.ac.uk>
date Tue, 03 May 2016 11:04:56 +0100
parents 048b7a4dc841
children 3e93d9793da3
line wrap: on
line diff
--- a/include/BeagleRT.h	Thu Apr 28 19:40:41 2016 +0100
+++ b/include/BeagleRT.h	Tue May 03 11:04:56 2016 +0100
@@ -579,7 +579,7 @@
  * \param priority Xenomai priority level at which the task should run.
  * \param name Name for this task, which should be unique system-wide (no other running program should use this name).
  */
-AuxiliaryTask BeagleRT_createAuxiliaryTask(void (*functionToCall)(void), int priority, const char *name);
+AuxiliaryTask BeagleRT_createAuxiliaryTask(void (*functionToCall)(void*), int priority, const char *name, void* args);
 
 /**
  * \brief Start an auxiliary task so that it can be run.