mirror of
https://github.com/apache/nuttx.git
synced 2026-05-19 20:06:24 +08:00
board: define boardioc_softreset_subreason_e in CONFIG_BOARDCTL_RESET
so user could pass boardioc_softreset_subreason_e to board_reset too Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
committed by
Petro Karashchenko
parent
5e7d48f4b0
commit
b2c8b5f674
@@ -410,7 +410,7 @@ struct boardioc_boot_info_s
|
||||
};
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_BOARDCTL_RESET_CAUSE
|
||||
#if defined(CONFIG_BOARDCTL_RESET) || defined(CONFIG_BOARDCTL_RESET_CAUSE)
|
||||
/* Describes the reason of last reset */
|
||||
|
||||
enum boardioc_reset_cause_e
|
||||
|
||||
Reference in New Issue
Block a user