1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-23 16:25:16 +03:00

Cosmetics

This commit is contained in:
Bertrand Songis 2018-08-05 14:26:44 +02:00
parent ffa012eeb6
commit 7eb3eb9ec5
2 changed files with 2 additions and 2 deletions

View file

@ -122,7 +122,7 @@ extern "C++" {
#define TASK_FUNCTION(task) void * task(void * pdata)
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);
}