QuRT: removed calls to sleep

A stub for hrt_sleep was removed. Will add back when DSPAL supports
sleep.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
This commit is contained in:
Mark Charlebois
2015-04-22 11:16:58 -07:00
parent e764c68d0a
commit a4c33f5173
3 changed files with 5 additions and 15 deletions
@@ -40,15 +40,9 @@
*/
#include "hello_example.h"
#include <drivers/drv_hrt.h>
#include <unistd.h>
#include <stdio.h>
/*
* Wrap the sleep call.
*/
__EXPORT extern void hrt_sleep(uint32_t seconds);
px4::AppState HelloExample::appState;
int HelloExample::main()
@@ -57,7 +51,6 @@ int HelloExample::main()
int i=0;
while (!appState.exitRequested() && i<5) {
hrt_sleep(2);
printf(" Doing work...\n");
++i;