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:
Mark Charlebois 2015-04-14 14:38:28 -07:00
parent a1501fa368
commit f00dc44475
1 changed files with 1 additions and 1 deletions

View File

@ -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;