源码/核心板/Src/stm32f10x_it.c
@@ -53,7 +53,7 @@ if(tag_timer++>=g_com_map[COM_INTERVAL]) {tag_timer=0;} if(g_Resttimer++>2000) if(g_Resttimer++>10000) { NVIC_SystemReset(); } @@ -149,4 +149,11 @@ // } } void HardFault_Handler(void) { while(1) { NVIC_SystemReset(); } }