From 3a2e064c92bef40c4806f93f5aa808bc89a9c9cf Mon Sep 17 00:00:00 2001 From: Mark Charlebois Date: Wed, 16 Sep 2015 15:58:15 -0700 Subject: [PATCH 1/2] Fixed error due to set but unused variable Signed-off-by: Mark Charlebois --- src/platforms/posix/work_queue/hrt_thread.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/platforms/posix/work_queue/hrt_thread.c b/src/platforms/posix/work_queue/hrt_thread.c index 52745afd62..9ba01d9eee 100644 --- a/src/platforms/posix/work_queue/hrt_thread.c +++ b/src/platforms/posix/work_queue/hrt_thread.c @@ -117,7 +117,6 @@ static void hrt_work_process() uint64_t elapsed; uint32_t remaining; uint32_t next; - int ret; /* Then process queued work. We need to keep interrupts disabled while * we process items in the work list. @@ -207,8 +206,7 @@ static void hrt_work_process() /* might sleep less if a signal received and new item was queued */ //PX4_INFO("Sleeping for %u usec", next); - ret = usleep(next); - //PX4_INFO("WOKE UP %d", ret); + usleep(next); } /**************************************************************************** From ed70a1a1b083ca184afc3cdcf375c7e7e8d13da3 Mon Sep 17 00:00:00 2001 From: Mark Charlebois Date: Wed, 16 Sep 2015 17:08:14 -0700 Subject: [PATCH 2/2] Updated dspal version Fix to remove dspal version of signal.h Signed-off-by: Mark Charlebois --- src/lib/dspal | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/dspal b/src/lib/dspal index a88d55925c..229f2f4d84 160000 --- a/src/lib/dspal +++ b/src/lib/dspal @@ -1 +1 @@ -Subproject commit a88d55925cc21d4f9ebc728deab85cbcbb218a52 +Subproject commit 229f2f4d8471564f01fe8330e5de1554a9b7aeb6