Let BOARDIOC_SOFTRESETCAUSE_ASSERT equals to the default value of BOARD_ASSERT_RESET_VALUE

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao 2023-04-04 02:39:00 +08:00 committed by David Sidrane
parent 826dd87f30
commit 1113746d44
1 changed files with 3 additions and 3 deletions

View File

@ -434,11 +434,11 @@ enum boardioc_reset_cause_e
enum boardioc_softreset_subreason_e enum boardioc_softreset_subreason_e
{ {
BOARDIOC_SOFTRESETCAUSE_USER_REBOOT = 0, BOARDIOC_SOFTRESETCAUSE_USER_REBOOT = 0,
BOARDIOC_SOFTRESETCAUSE_ASSERT,
BOARDIOC_SOFTRESETCAUSE_PANIC,
BOARDIOC_SOFTRESETCAUSE_ENTER_BOOTLOADER, BOARDIOC_SOFTRESETCAUSE_ENTER_BOOTLOADER,
BOARDIOC_SOFTRESETCAUSE_ENTER_RECOVERY, BOARDIOC_SOFTRESETCAUSE_ENTER_RECOVERY,
BOARDIOC_SOFTRESETCAUSE_RESTORE_FACTORY, BOARDIOC_SOFTRESETCAUSE_RESTORE_FACTORY
BOARDIOC_SOFTRESETCAUSE_PANIC,
BOARDIOC_SOFTRESETCAUSE_ASSERT
}; };
struct boardioc_reset_cause_s struct boardioc_reset_cause_s