HardFault_Handler 处理

This commit is contained in:
2026-07-17 12:02:26 +08:00
parent f4a90b18a5
commit 441498390e
3 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -243,7 +243,7 @@ void HardFault_Handler_C(ContextStateFrame_t* frame, uint32_t lr_value){
// "thumb instruction interworking" bit set
frame->xpsr = (1 << 24);
#else
while(1);
while(1){}
#endif
}