Browse Source

HRT driver: Initialize work struct

sbg
Lorenz Meier 9 years ago
parent
commit
cda3c28661
  1. 2
      src/platforms/posix/px4_layer/drv_hrt.c

2
src/platforms/posix/px4_layer/drv_hrt.c

@ -63,7 +63,7 @@ static void hrt_call_reschedule(void); @@ -63,7 +63,7 @@ static void hrt_call_reschedule(void);
#define HRT_INTERVAL_MAX 50000000
static px4_sem_t _hrt_lock;
static struct work_s _hrt_work;
static struct work_s _hrt_work = {};
static hrt_abstime px4_timestart = 0;
static void

Loading…
Cancel
Save