aboutsummaryrefslogtreecommitdiff
path: root/src/systemcmds/tests/test_sleep.c
diff options
context:
space:
mode:
authorLorenz Meier <lm@inf.ethz.ch>2015-02-08 16:39:56 +0100
committerLorenz Meier <lm@inf.ethz.ch>2015-02-08 16:43:55 +0100
commita4a3b1b25f8386390df7929448b23649ae55b107 (patch)
tree027820b54cdc55f72a4ce1686c1c865e6c5fd499 /src/systemcmds/tests/test_sleep.c
parentf7b79bfaf2cee56a52538bc24ba3ff917e2b5acf (diff)
downloadpx4-firmware-a4a3b1b25f8386390df7929448b23649ae55b107.tar.gz
px4-firmware-a4a3b1b25f8386390df7929448b23649ae55b107.tar.bz2
px4-firmware-a4a3b1b25f8386390df7929448b23649ae55b107.zip
Modernize system tests, API cleanup
Diffstat (limited to 'src/systemcmds/tests/test_sleep.c')
-rw-r--r--src/systemcmds/tests/test_sleep.c35
1 files changed, 1 insertions, 34 deletions
diff --git a/src/systemcmds/tests/test_sleep.c b/src/systemcmds/tests/test_sleep.c
index ae682b542..3097e68a4 100644
--- a/src/systemcmds/tests/test_sleep.c
+++ b/src/systemcmds/tests/test_sleep.c
@@ -51,42 +51,9 @@
#include "tests.h"
-/****************************************************************************
- * Pre-processor Definitions
- ****************************************************************************/
-
-/****************************************************************************
- * Private Types
- ****************************************************************************/
-
-/****************************************************************************
- * Private Function Prototypes
- ****************************************************************************/
-
-/****************************************************************************
- * Private Data
- ****************************************************************************/
-
-/****************************************************************************
- * Public Data
- ****************************************************************************/
-
-/****************************************************************************
- * Private Functions
- ****************************************************************************/
-
-
-/****************************************************************************
- * Public Functions
- ****************************************************************************/
-
-/****************************************************************************
- * Name: test_sleep
- ****************************************************************************/
-
int test_sleep(int argc, char *argv[])
{
- unsigned int nsleeps = 100;
+ unsigned int nsleeps = 20;
printf("\t %d 100ms sleeps\n", nsleeps);
fflush(stdout);