This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx-apps.git

commit f687088453a5b670509939bcb74d556ef6e31afb
Author: ouyangxiangzhen <[email protected]>
AuthorDate: Fri Feb 21 10:57:37 2025 +0800

    apps/testing: Fix timerjitter interval
    
    This commit increased the default interval of the timerjitter to avoid 
errors with large USEC_PER_TICK setting.
    
    Signed-off-by: ouyangxiangzhen <[email protected]>
---
 testing/sched/timerjitter/timerjitter.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/testing/sched/timerjitter/timerjitter.c 
b/testing/sched/timerjitter/timerjitter.c
index 3a73ee298..56697b2bc 100644
--- a/testing/sched/timerjitter/timerjitter.c
+++ b/testing/sched/timerjitter/timerjitter.c
@@ -35,7 +35,7 @@
  ****************************************************************************/
 
 #define DEFAULT_CLOCKID   CLOCK_REALTIME
-#define DEFAULT_INTERVAL  1000
+#define DEFAULT_INTERVAL  1000 * USEC_PER_TICK
 #define DEFAULT_ITERATION 1000
 
 /* Fix compilation error for Non-NuttX OS */

Reply via email to