apps/testing: Fix timerjitter iteration

This commit used the interval to calculate the timejitter iteration.

Signed-off-by: ouyangxiangzhen <ouyangxiangzhen@xiaomi.com>
This commit is contained in:
ouyangxiangzhen 2025-02-24 09:51:38 +08:00 committed by Xiang Xiao
parent f687088453
commit 429a65901f

View file

@ -35,8 +35,8 @@
****************************************************************************/
#define DEFAULT_CLOCKID CLOCK_REALTIME
#define DEFAULT_INTERVAL 1000 * USEC_PER_TICK
#define DEFAULT_ITERATION 1000
#define DEFAULT_INTERVAL (1000 * USEC_PER_TICK)
#define DEFAULT_ITERATION (USEC_PER_SEC / DEFAULT_INTERVAL)
/* Fix compilation error for Non-NuttX OS */
#ifndef FAR