forked from Archive/PX4-Autopilot
Linux: fixed px4_task_t to be int
px4_task_t is negative for failure conditions. It was set mistakenly to pthread_t (which is unsigned) for LInux. Signed-off-by: Mark Charlebois <charlebm@gmail.com>
This commit is contained in:
parent
a1501fa368
commit
f00dc44475
|
@ -58,7 +58,7 @@ typedef int px4_task_t;
|
|||
#define SCHED_PRIORITY_MIN sched_get_priority_min(SCHED_FIFO)
|
||||
#define SCHED_PRIORITY_DEFAULT sched_get_priority_max(SCHED_FIFO)
|
||||
|
||||
typedef pthread_t px4_task_t;
|
||||
typedef int px4_task_t;
|
||||
|
||||
typedef struct {
|
||||
int argc;
|
||||
|
|
Loading…
Reference in New Issue