From 2730d8ab208164d0932d59cf2a8eaf5042cf1bf3 Mon Sep 17 00:00:00 2001 From: Lorenz Meier Date: Sun, 22 Nov 2015 15:50:14 +0100 Subject: [PATCH] Fix HRT init compile error --- src/platforms/posix/px4_layer/drv_hrt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/platforms/posix/px4_layer/drv_hrt.c b/src/platforms/posix/px4_layer/drv_hrt.c index 9874278012..e4839f0ac7 100644 --- a/src/platforms/posix/px4_layer/drv_hrt.c +++ b/src/platforms/posix/px4_layer/drv_hrt.c @@ -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