This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git

commit b78c9a7067d18a406ce39dd9618d813ab30ef851
Author: wangjianyu3 <[email protected]>
AuthorDate: Sun Dec 3 22:48:52 2023 +0800

    boardctl.h: Add BOARDIOC_SOFTRESETCAUSE_THERMAL reset cause
    
    Signed-off-by: wangjianyu3 <[email protected]>
---
 include/sys/boardctl.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/include/sys/boardctl.h b/include/sys/boardctl.h
index 0688ec7aed..01fc405927 100644
--- a/include/sys/boardctl.h
+++ b/include/sys/boardctl.h
@@ -464,7 +464,8 @@ enum boardioc_softreset_subreason_e
   BOARDIOC_SOFTRESETCAUSE_ENTER_BOOTLOADER,
   BOARDIOC_SOFTRESETCAUSE_ENTER_RECOVERY,
   BOARDIOC_SOFTRESETCAUSE_RESTORE_FACTORY,
-  BOARDIOC_SOFTRESETCAUSE_RESTORE_FACTORY_INQUIRY
+  BOARDIOC_SOFTRESETCAUSE_RESTORE_FACTORY_INQUIRY,
+  BOARDIOC_SOFTRESETCAUSE_THERMAL
 };
 
 struct boardioc_reset_cause_s

Reply via email to