aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--example/timer/odp_timer_test.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/example/timer/odp_timer_test.c b/example/timer/odp_timer_test.c
index 94619e481..aee01c838 100644
--- a/example/timer/odp_timer_test.c
+++ b/example/timer/odp_timer_test.c
@@ -311,6 +311,9 @@ static void parse_args(int argc, char *argv[], test_args_t *args)
break;
}
}
+
+ if (args->period_us < args->resolution_us)
+ printf("\n\tWarn: timeout is set less then resolution\n");
}