Skip to content
Snippets Groups Projects
Commit f00dc444 authored by Mark Charlebois's avatar Mark Charlebois
Browse files

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: default avatarMark Charlebois <charlebm@gmail.com>
parent a1501fa3
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment