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:
wangchengdong 2025-11-09 19:02:16 +08:00 committed by archer
parent 761f25c857
commit bd10572851

View file

@ -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);