mirror of
https://github.com/opentx/opentx.git
synced 2025-07-24 00:35:18 +03:00
Cosmetics
This commit is contained in:
parent
ffa012eeb6
commit
7eb3eb9ec5
2 changed files with 2 additions and 2 deletions
|
@ -122,7 +122,7 @@ extern "C++" {
|
||||||
#define TASK_FUNCTION(task) void * task(void * pdata)
|
#define TASK_FUNCTION(task) void * task(void * pdata)
|
||||||
|
|
||||||
template<int SIZE>
|
template<int SIZE>
|
||||||
inline void RTOS_CREATE_TASK(pthread_t &taskId, void * task(void *) , const char * name, FakeTaskStack<SIZE> &stack, unsigned stackSize, unsigned priority)
|
inline void RTOS_CREATE_TASK(pthread_t &taskId, void * task(void *), const char * name, FakeTaskStack<SIZE> &stack, unsigned stackSize, unsigned priority)
|
||||||
{
|
{
|
||||||
pthread_create(&taskId, nullptr, task, nullptr);
|
pthread_create(&taskId, nullptr, task, nullptr);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue