aboutsummaryrefslogtreecommitdiff
path: root/apps/px4/tests/test_sleep.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/px4/tests/test_sleep.c')
-rw-r--r--apps/px4/tests/test_sleep.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/px4/tests/test_sleep.c b/apps/px4/tests/test_sleep.c
index c7b9d2833..ae682b542 100644
--- a/apps/px4/tests/test_sleep.c
+++ b/apps/px4/tests/test_sleep.c
@@ -90,9 +90,8 @@ int test_sleep(int argc, char *argv[])
printf("\t %d 100ms sleeps\n", nsleeps);
fflush(stdout);
- for (int i = 0; i < nsleeps; i++) {
+ for (unsigned int i = 0; i < nsleeps; i++) {
usleep(100000);
- //printf("\ttick\n");
}
printf("\t Sleep test successful.\n");