mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-01 20:29:00 +00:00
testing/ostest: align wdog ostest with wdog bugfix
https://github.com/apache/nuttx/pull/17293 fixed wd_start bug, and this patch fixed the related ostest accordingly Signed-off-by: Chengdong Wang <wangchengdong@lixiang.com>
This commit is contained in:
parent
761f25c857
commit
bd10572851
1 changed files with 1 additions and 0 deletions
|
|
@ -299,6 +299,7 @@ static void wdog_test_run(FAR wdtest_param_t *param)
|
|||
/* Maximum */
|
||||
|
||||
delay = CLOCK_MAX >> 2;
|
||||
delay -= 1;
|
||||
wdtest_assert(wd_start(&test_wdog, delay,
|
||||
wdtest_callback, (wdparm_t)param) == OK);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue