This is an automated email from the ASF dual-hosted git repository. pkarashchenko pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx-apps.git
The following commit(s) were added to refs/heads/master by this push: new 2d6d199c4 Fix drivertest_watchdog.c:284:33: error: storage size of 'reset_cause' isn't known 2d6d199c4 is described below commit 2d6d199c492196c4680ae7f5b97bb6e2a7b38649 Author: Xiang Xiao <xiaoxi...@xiaomi.com> AuthorDate: Tue Sep 26 01:21:51 2023 +0800 Fix drivertest_watchdog.c:284:33: error: storage size of 'reset_cause' isn't known Signed-off-by: Xiang Xiao <xiaoxi...@xiaomi.com> --- testing/drivertest/drivertest_watchdog.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testing/drivertest/drivertest_watchdog.c b/testing/drivertest/drivertest_watchdog.c index a4ffd7ddd..65fa8ac94 100644 --- a/testing/drivertest/drivertest_watchdog.c +++ b/testing/drivertest/drivertest_watchdog.c @@ -24,6 +24,7 @@ #include <nuttx/config.h> +#include <sys/boardctl.h> #include <sys/types.h> #include <sys/ioctl.h> #include <sys/stat.h> @@ -42,7 +43,6 @@ #include <cmocka.h> #include <time.h> #include <nuttx/timers/watchdog.h> -#include <nuttx/board.h> /**************************************************************************** * Pre-processor Definitions