Merge pull request #2874 from mcharleb/poll_test

Poll test
This commit is contained in:
Lorenz Meier 2015-09-17 09:05:58 +02:00
commit 1bf01a5a72
2 changed files with 2 additions and 4 deletions

@ -1 +1 @@
Subproject commit a88d55925cc21d4f9ebc728deab85cbcbb218a52
Subproject commit 229f2f4d8471564f01fe8330e5de1554a9b7aeb6

View File

@ -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);
}
/****************************************************************************