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:
parent
826dd87f30
commit
1113746d44
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue