mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-09-02 23:23:05 +00:00
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:
parent
f687088453
commit
429a65901f
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue