From 1113746d441aa68ee12b44b0078ae96e0e985197 Mon Sep 17 00:00:00 2001 From: Xiang Xiao Date: Tue, 4 Apr 2023 02:39:00 +0800 Subject: [PATCH] Let BOARDIOC_SOFTRESETCAUSE_ASSERT equals to the default value of BOARD_ASSERT_RESET_VALUE Signed-off-by: Xiang Xiao --- include/sys/boardctl.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/sys/boardctl.h b/include/sys/boardctl.h index 90e5431edd..50df375ff5 100644 --- a/include/sys/boardctl.h +++ b/include/sys/boardctl.h @@ -434,11 +434,11 @@ enum boardioc_reset_cause_e enum boardioc_softreset_subreason_e { BOARDIOC_SOFTRESETCAUSE_USER_REBOOT = 0, + BOARDIOC_SOFTRESETCAUSE_ASSERT, + BOARDIOC_SOFTRESETCAUSE_PANIC, BOARDIOC_SOFTRESETCAUSE_ENTER_BOOTLOADER, BOARDIOC_SOFTRESETCAUSE_ENTER_RECOVERY, - BOARDIOC_SOFTRESETCAUSE_RESTORE_FACTORY, - BOARDIOC_SOFTRESETCAUSE_PANIC, - BOARDIOC_SOFTRESETCAUSE_ASSERT + BOARDIOC_SOFTRESETCAUSE_RESTORE_FACTORY }; struct boardioc_reset_cause_s